W3cubDocs

/WordPress

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

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/year_link