Is the query a 404 (returns no results)?

Return Return

(bool) Whether the query is a 404 error.

Top ↑

Source Source

File: wp-includes/class-wp-query.php

	public function is_404() {
		return (bool) $this->is_404;

Top ↑

Changelog Changelog

Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.