Filters the term link.
$termlinkstring
$termWP_Term
$taxonomystring
This filter is applied to the link URL for a term prior to printing by the function get_term_link() .
return apply_filters( 'term_link', $termlink, $term, $taxonomy );
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/term_link