edit_term_link WordPress Filter Hook
The edit_term_link hook is used to edit the link for a given term. This can be useful for customizing the link text or changing the link destination.
apply_filters( 'edit_term_link', string $link , int $term_id ) #
Filters the anchor tag for the edit link of a term.
Parameters
- $link
(string)The anchor tag for the edit link.
- $term_id
(int)Term ID.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |