wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_edit_tag_link › WordPress Function

Da2.7.0
Deprecaton/a
get_edit_tag_link ( $tag, $taxonomy = 'post_tag' )
Parametri: (2)
  • (int|WP_Term|object) $tag The ID or term object whose edit link will be retrieved.
    Richiesto:
  • (string) $taxonomy Optional. Taxonomy slug. Default 'post_tag'.
    Richiesto: No
    Default: 'post_tag'
Ritorna:
  • (string) The edit tag link URL for the given tag.
Definito a:
Codex:

Retrieves the edit link for a tag.



Sorgenti

function get_edit_tag_link( $tag, $taxonomy = 'post_tag' ) {
	/**
	 * Filters the edit link for a tag (or term in another taxonomy).
	 *
	 * @since 2.7.0
	 *
	 * @param string $link The term edit link.
	 */
	return apply_filters( 'get_edit_tag_link', get_edit_term_link( $tag, $taxonomy ) );
}