wp_sitemaps_stylesheet_index_url WordPress Filter Hook
The wp_sitemaps_stylesheet_index_url hook is used to filter the URL of the XML Sitemap Index stylesheet.
apply_filters( 'wp_sitemaps_stylesheet_index_url', string $sitemap_url ) #
Filters the URL for the sitemap index stylesheet.
Description
If a falsey value is returned, no stylesheet will be used and the "raw" XML of the sitemap index will be displayed.
Parameters
- $sitemap_url
(string)Full URL for the sitemaps index XSL file.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |