get_edit_tag_link() – Retrieves the edit link for a tag.

You appear to be a bot. Output may be restricted

Description

Retrieves the edit link for a tag.

Usage

$string = get_edit_tag_link( $tag, $taxonomy );

Parameters

$tag
( int|WP_Term|object ) required – The ID or term object whose edit link will be retrieved.
$taxonomy
( string ) optional default: post_tag – Optional. Taxonomy slug. Default 'post_tag'.

Returns

string The edit tag link URL for the given tag.

Source

File name: wordpress/wp-includes/link-template.php


Lines:

1 to 12 of 12
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 ) );
}
 

 View on GitHub View on Trac