apply_filters( 'year_link', string $yearlink, int $year )
Filters the year archive permalink.
Parameters
- $yearlink
-
(string) Permalink for the year archive.
- $year
-
(int) Year for the archive.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/year_link