WP_Query::is_date() WordPress Method
The WP_Query::is_date() method is used to check if a given date is a date archive.
WP_Query::is_date() #
Is the query for an existing date archive?
Return
(bool) Whether the query is for an existing date archive.
Source
File: wp-includes/class-wp-query.php
public function is_date() {
return (bool) $this->is_date;
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |