On this page
apply_filters( 'pre_term_link', string $termlink, WP_Term $term )
Filters the permalink structure for a term before token replacement occurs.
Parameters
$termlinkstring-
The permalink structure for the term's taxonomy.
$termWP_Term-
The term object.
Source
File: wp-includes/taxonomy.php. View all references
$termlink = apply_filters( 'pre_term_link', $termlink, $term );
Related
Used By
| Used By | Description |
|---|---|
| get_term_link() wp-includes/taxonomy.php | Generates a permalink for a taxonomy term archive. |
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_term_link