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



wp_sitemaps_stylesheet_index_url › WordPress Filter Hooks

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

Filters the URL for the sitemap index stylesheet.

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





Source

return apply_filters( 'wp_sitemaps_stylesheet_index_url', $sitemap_url );