Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
do_robotstxt

Description

Runs in the do_robots function before it prints out the Disallow lists for the robots.txt file.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for do_robotstxt

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.1 wp-includes/functions.php 901 View in context action
2.2 wp-includes/functions.php 997 View in context action
2.3 wp-includes/functions.php 879 View in context action
2.5 wp-includes/functions.php 943 View in context action
2.6 wp-includes/functions.php 1345 View in context action
2.7 wp-includes/functions.php 1539 View in context action
2.8 wp-includes/functions.php 1730 View in context action
2.9 wp-includes/functions.php 1712 View in context action
3.0 wp-includes/functions.php 1782 View in context action
3.1 wp-includes/functions.php 1805 View in context action
3.2 wp-includes/functions.php 1845 View in context action
3.3 wp-includes/functions.php 1848 View in context action
3.4 wp-includes/functions.php 1053 View in context action
3.5 wp-includes/functions.php 1059 View in context action
3.6 wp-includes/functions.php 1074 View in context action
3.7 wp-includes/functions.php 1101 View in context action
3.8 wp-includes/functions.php 1097 View in context action
3.9 wp-includes/functions.php 1160 View in context action
4.0 wp-includes/functions.php 1222 View in context action
4.1 wp-includes/functions.php 1222 View in context action
4.2 wp-includes/functions.php 1226 View in context action
4.3 wp-includes/functions.php 1237 View in context action
4.4 wp-includes/functions.php 1304 View in context action
4.5 wp-includes/functions.php 1312 View in context action
4.6 wp-includes/functions.php 1321 View in context action
4.7 wp-includes/functions.php 1325 View in context action
4.8 wp-includes/functions.php 1313 View in context action
4.9 wp-includes/functions.php 1318 View in context action
5.0 wp-includes/functions.php 1322 View in context action
5.1 wp-includes/functions.php 1474 View in context action

Related Hooks

We find related hooks using word stems. do_robotstxt has 2 significant word stem(s): do, robotstxt. Note that some of the hooks below may not appear in all versions of WP.