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.2

apply_filters('robots_txt') is found 1 times:

  • /wp-includes/functions.php line 1727
    1723
    1724
    1725
    1726
    1727
    1728
    1729
    1730
    1731
    1732
    1733
         *
         * @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: