WP_Query::is_date(): bool
Determines whether the query is for an existing date archive.
Return
bool Whether the query is for an existing date archive.
Source
File: wp-includes/class-wp-query.php
.
View all references
public function is_date() {
return (bool) $this->is_date;
}
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |