get_edit_term_link WordPress Filter Hook
The get_edit_term_link WordPress hook is used to get the link to edit a given term. This is useful for creating links to edit terms in the admin interface.
apply_filters( 'get_edit_term_link', string $location , int $term_id , string $taxonomy , string $object_type ) #
Filters the edit link for a term.
Parameters
- $location
(string)The edit link.
- $term_id
(int)Term ID.
- $taxonomy
(string)Taxonomy name.
- $object_type
(string)The object type.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |