is_404


is_404 ( No parameters )

Returns:
  • (bool) Whether the query is a 404 error.
Defined at:

Description

Determines whether the query has resulted in a 404 (returns no results).For more information on this and similar theme functions, check out the {@link Conditional Tags} article in the Theme Developer Handbook.

Related Functions

is_day, is_rtl, is_ssl, is_tag, is_tax

Top Google Results

User discussions

wpseek mobile