Robots

Robots Functions

Conditional Functions is_robots() Determines whether the query is for the robots.txt file. function is_robots(): bool Since: 2.1.0 Returns: bool —...

Updated March 13, 2026

Robots Hooks

Filters wp_robots Filters the directives to be included in the robots meta tag. apply_filters( 'wp_robots', array $robots ): array Since:...

Updated March 13, 2026

Robots API

Controls robots.txt generation and meta robots directives for search engine crawlers. Since: 2.1.0 (robots.txt), 5.7.0 (meta robots) Source: wp-includes/robots-template.php, wp-includes/functions.php,...

Updated March 13, 2026
← Back to Chubes.net