A WordPress-centric search engine for devs and theme authors



get_edit_tag_link ›

Since2.7.0
Deprecatedn/a
get_edit_tag_link ( $tag_id, $taxonomy = 'post_tag' )
Parameters: (2)
  • (int) $tag_id Tag ID.
    Required: Yes
  • (string) $taxonomy Optional. Taxonomy slug. Default 'post_tag'.
    Required: No
    Default: 'post_tag'
Returns:
  • (string) The edit tag link URL for the given tag.
Defined at:
Codex:

Retrieves the edit link for a tag.



Source

function get_edit_tag_link( $tag_id, $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_id, $taxonomy ) );
}