WordPress at Your Fingertips
function is not described

WP_Query::is_day() public WP 3.1.0

Is the query for an existing day archive?

{} It's a method of the class: WP_Query{}

No Hooks.


true|false. Whether the query is for an existing day archive.


global $wp_query;

Code of WP_Query::is_day() WP 5.8.3

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