robots_txt

robots_txt

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('robots_txt') is found 1 times:

  • /wp-includes/functions.php line 1727
    	 *
    	 * @param string $output The robots.txt output.
    	 * @param bool   $public Whether the site is considered "public".
    	 */
    	echo apply_filters( 'robots_txt', $output, $public );
    }
    
    /**
     * Displays the favicon.ico file content.
     *
     * @since 5.4.0
    

See this hook used in plugins: