A WordPress-centric search engine for devs and theme authors



wp_sitemaps_enabled ›

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_enabled', $is_enabled )
Parameters:
  • (bool) $is_enabled Whether XML Sitemaps are enabled or not. Defaults to true for public sites.
    Required: Yes
Defined at:
Codex:

Filters whether XML Sitemaps are enabled or not.





Source

$is_enabled = (bool) apply_filters( 'wp_sitemaps_enabled', $is_enabled );