apply_filters( ‘year_link’, string $yearlink, int $year )

In this article

Filters the year archive permalink.

Parameters

$yearlinkstring
Permalink for the year archive.
$yearint
Year for the archive.

Source

return apply_filters( 'year_link', $yearlink, $year );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.