wp_sitemaps_stylesheet_url WordPress Filter Hook
wp_sitemaps_stylesheet_url is a filter hook used to modify the URL of the stylesheet used by the WP Sitemaps plugin. This hook is useful for customizing the appearance of your sitemap.
apply_filters( 'wp_sitemaps_stylesheet_url', string $sitemap_url ) #
Filters the URL for the sitemap stylesheet.
Description
If a falsey value is returned, no stylesheet will be used and the "raw" XML of the sitemap will be displayed.
Parameters
- $sitemap_url
(string)Full URL for the sitemaps XSL file.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |