On this page
do_action( 'do_robotstxt' )
Fires when displaying the robots.txt file.
Source
File: wp-includes/functions.php. View all references
do_action( 'do_robotstxt' );
Related
Used By
| Used By | Description |
|---|---|
| do_robots() wp-includes/functions.php | Displays the default robots.txt file content. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/do_robotstxt