do_robots

do_robots

Hook Type: action
See hook in action
See hook in
Displaying hooks found in version: wordpress-5.2.2

do_action('do_robots') is found 1 times:

  • /wp-includes/template-loader.php line 37
    	 * Fired when the template loader determines a robots.txt request.
    	 *
    	 * @since 2.1.0
    	 */
    	do_action( 'do_robots' );
    	return;
    elseif ( is_feed() ) :
    	do_feed();
    	return;
    elseif ( is_trackback() ) :
    	include( ABSPATH . 'wp-trackback.php' );
    

See this hook used in plugins: