wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_sitemaps_enabled › WordPress过滤钩子
Since5.5.0
已弃用n/a
› apply_filters( 'wp_sitemaps_enabled', $is_enabled )
| 参数: |
|
| 查看: |
|
| 定义在: | |
| 文档: |
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