wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_sitemaps_enabled › WordPress Filter Hooks
Since5.5.0
Deprecatedn/a
› apply_filters( 'wp_sitemaps_enabled', $is_enabled )
Parameters: |
|
Defined at: | |
Codex: |
Filters whether XML Sitemaps are enabled or not.
When XML Sitemaps are disabled via this filter, rewrite rules are still in place to ensure a 404 is returned.
Related Functions: wp_revisions_enabled, wp_sitemaps_get_max_urls, wp_sitemaps_get_server, global_terms_enabled, wp_is_site_initialized, _wp_sidebars_changed