On this page
apply_filters( 'term_link', string $termlink, WP_Term $term, string $taxonomy )
Filters the term link.
Parameters
$termlinkstring-
Term link URL.
$termWP_Term-
Term object.
$taxonomystring-
Taxonomy slug.
More Information
This filter is applied to the link URL for a term prior to printing by the function get_term_link() .
Source
File: wp-includes/taxonomy.php. View all references
return apply_filters( 'term_link', $termlink, $term, $taxonomy );
Related
Used By
| Used By | Description |
|---|---|
| get_term_link() wp-includes/taxonomy.php | Generates a permalink for a taxonomy term archive. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/term_link