is_404


is_404 ( No parameters )

Returns:
  • (bool)
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 https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.

Related Functions

is_tax, is_tag, is_rtl, is_day, is_ssl

Top Google Results

User discussions

wpseek mobile