edit_tag_link filter-hookWP 2.7.0

Filters the anchor tag for the edit link for a tag (or term in another taxonomy).

Usage

add_filter( 'edit_tag_link', 'wp_kama_edit_tag_link_filter' );

/**
 * Function for `edit_tag_link` filter-hook.
 * 
 * @param string $link The anchor tag for the edit link.
 *
 * @return string
 */
function wp_kama_edit_tag_link_filter( $link ){

	// filter...
	return $link;
}
$link(string)
The anchor tag for the edit link.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

edit_tag_link()
edit_tag_link
wp-includes/link-template.php 1060
echo $before . apply_filters( 'edit_tag_link', $link ) . $after;

Where the hook is used in WordPress

Usage not found.