do_robots action-hook . WP 2.1.0
Fired when the template loader determines a robots.txt request.
Usage
add_action( 'do_robots', 'action_function_name_8622' ); function action_function_name_8622(){ // action... }
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
In file: /wp-includes/template-loader.php
wp-includes/template-loader.php 37
do_action( 'do_robots' );
Where in WP core the hook is used WordPress
wp-includes/template-loader.php 350
add_action( 'do_robots', 'do_robots' );