do_robots

do_robots

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.4

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_favicon() ) {
    	/**
    	 * Fired when the template loader determines a favicon.ico request.
    	 *
    	 * @since 5.4.0
    

See this hook used in plugins: