wp_sitemaps_enabled

wp_sitemaps_enabled

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_sitemaps_enabled') is found 1 times:

  • /wp-includes/sitemaps/class-wp-sitemaps.php line 104
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
         *
         * @param bool $is_enabled Whether XML Sitemaps are enabled or not.
         *                         Defaults to true for public sites.
         */
        return (bool) apply_filters( 'wp_sitemaps_enabled', $is_enabled );
    }
     
    /**
     * Registers and sets up the functionality for all supported sitemaps.
     *
     * @since 5.5.0

See this hook used in plugins: