WP_Query::is_robots()
Is the query for the robots file?
Return
(bool)
Source
File: wp-includes/class-wp-query.php
public function is_robots() {
return (bool) $this->is_robots;
}
Changelog
Version | Description |
---|---|
WP-3.1.0 | Introduced. |
Is the query for the robots file?
(bool)
File: wp-includes/class-wp-query.php
public function is_robots() {
return (bool) $this->is_robots;
}
Version | Description |
---|---|
WP-3.1.0 | Introduced. |