edit_term_link filter-hook . WP 3.1.0
Filters the anchor tag for the edit link of a term.
Usage
add_filter( 'edit_term_link', 'filter_function_name_8463', 10, 2 ); function filter_function_name_8463( $link, $term_id ){ // filter... return $link; }
- $link(string)
- The anchor tag for the edit link.
- $term_id(int)
- Term ID.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
edit_term_link
wp-includes/link-template.php 1083
$link = $before . apply_filters( 'edit_term_link', $link, $term->term_id ) . $after;