get_edit_tag_link
Filters the edit link for a tag (or term in another taxonomy).
Usage
add_filter( 'get_edit_tag_link', 'wp_kama_get_edit_tag_link_filter' );
/**
* Function for `get_edit_tag_link` filter-hook.
*
* @param string $link The term edit link.
*
* @return string
*/
function wp_kama_get_edit_tag_link_filter( $link ){
// filter...
return $link;
}
- $link(string)
- The term edit link.
Changelog
| Since 2.7.0 | Introduced. |
Where the hook is called
get_edit_tag_link
wp-includes/link-template.php 1041
return apply_filters( 'get_edit_tag_link', get_edit_term_link( $tag, $taxonomy ) );