is_year


is_year ( No parameters )

Returns:
  • (bool)
Defined at:

Description

Determines whether the query is for an existing year archive.

For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.

Related Functions

is_search, is_term, is_email, is_error, is_author

Top Google Results

User discussions

wpseek mobile