WP_Query::is_robots(): bool In this article Table of ContentsReturn Source Related Changelog ↑ Back to top Determines whether the query is for the robots.txt file. Return bool Whether the query is for the robots.txt file. Source public function is_robots() { return (bool) $this->is_robots; } View all references View on Trac View on GitHub Related Used byDescriptionis_robots()wp-includes/query.phpIs the query for the robots.txt file? Changelog VersionDescription3.1.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.