On this page
WP_Query::is_month(): bool
Is the query for an existing month archive?
Return
bool Whether the query is for an existing month archive.
Source
File: wp-includes/class-wp-query.php. View all references
public function is_month() {
return (bool) $this->is_month;
}
Related
Used By
| Used By | Description |
|---|---|
| is_month() wp-includes/query.php | Determines whether the query is for an existing month archive. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_query/is_month