On this page
apply_filters( 'tag_link', string $termlink, int $term_id )
Filters the tag link.
Parameters
$termlinkstring-
Tag link URL.
$term_idint-
Term ID.
Source
File: wp-includes/taxonomy.php. View all references
$termlink = apply_filters( 'tag_link', $termlink, $term->term_id );
Related
Used By
| Used By | Description |
|---|---|
| get_term_link() wp-includes/taxonomy.php | Generates a permalink for a taxonomy term archive. |
Changelog
| Version | Description |
|---|---|
| 5.4.1 | Restored (un-deprecated). |
| 2.5.0 | Deprecated in favor of 'term_link' filter. |
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/tag_link