W3cubDocs

/WordPress

do_action( 'do_robotstxt' )

Fires when displaying the robots.txt file.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
2.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/do_robotstxt