do_action( 'do_robotstxt' ) Fires when displaying the robots.txt file. ContentsSource Related Used By Changelog User Contributed Notes Source File: wp-includes/functions.php. View all references do_action( 'do_robotstxt' ); View on Trac View on GitHub Top ↑Related Top ↑Used By Used By Used By Description do_robots() wp-includes/functions.php Displays the default robots.txt file content. Top ↑Changelog Changelog Version Description 2.1.0 Introduced. Top ↑User Contributed Notes You must log in before being able to contribute a note or feedback.