wp_sitemaps_stylesheet_content WordPress Filter Hook
This hook is called when the content of the WordPress sitemaps stylesheet is being generated. It can be used to modify the stylesheet content before it is outputted to the browser.
apply_filters( 'wp_sitemaps_stylesheet_content', string $xsl_content ) #
Filters the content of the sitemap stylesheet.
Parameters
- $xsl_content
(string)Full content for the XML stylesheet.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |