wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_sitemaps_stylesheet_url › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_stylesheet_url', $sitemap_url )
Parameters:
  • (string) $sitemap_url Full URL for the sitemaps XSL file.
    Required: Yes
Defined at:
Codex:

Filters the URL for the sitemap stylesheet.

If a falsey value is returned, no stylesheet will be used and the "raw" XML of the sitemap will be displayed.





Source

return apply_filters( 'wp_sitemaps_stylesheet_url', $sitemap_url );