get_edit_term_link filter-hook . WP 3.1.0
Filters the edit link for a term.
Usage
add_filter( 'get_edit_term_link', 'filter_function_name_9825', 10, 4 ); function filter_function_name_9825( $location, $term_id, $taxonomy, $object_type ){ // filter... return $location; }
- $location(string)
- The edit link.
- $term_id(int)
- Term ID.
- $taxonomy(string)
- Taxonomy name.
- $object_type(string)
- The object type (eg. the post type).
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
get_edit_term_link
wp-includes/link-template.php 1040
return apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type );