is_year
is_year ( No parameters )
Returns:- (bool) Whether the query is for an existing year archive.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Determines whether the query is for an existing year archive.For more information on this and similar theme functions, check out
the {@link Conditional Tags} article in the Theme Developer Handbook.