get_edit_tag_link( int $tag_id, string $taxonomy = 'post_tag' )

Retrieves the edit link for a tag.


Parameters

$tag_id

(Required) Tag ID.

$taxonomy

(Optional) Taxonomy slug. Default 'post_tag'.

Default value: 'post_tag'


Return

(string) The edit tag link URL for the given tag.


Source

File: wp-includes/link-template.php

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


Changelog

Changelog
Version Description
WP-2.7.0 Introduced.