Core Function
View Source on Trac ↗ is_year()
is_year( ) Determines whether the query is for an existing year archive.
Return Value
(bool)
Whether the query is for an existing year archive.
Function Information
Since Version
1.5.0
Source File
wp-includes/query.php
Advertisement