On this page
apply_filters( 'year_link', string $yearlink, int $year )
Filters the year archive permalink.
Parameters
$yearlinkstring-
Permalink for the year archive.
$yearint-
Year for the archive.
Source
File: wp-includes/link-template.php. View all references
return apply_filters( 'year_link', $yearlink, $year );
Related
Used By
| Used By | Description |
|---|---|
| get_year_link() wp-includes/link-template.php | Retrieves the permalink for the year archives. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/year_link