wp_sitemaps_stylesheet_css WordPress Filter Hook
The wp_sitemaps_stylesheet_css hook is used to add custom CSS to the WordPress sitemap stylesheet. This hook is used by developers to add custom styles to their sitemaps, and is not intended for general use by site administrators.
apply_filters( 'wp_sitemaps_stylesheet_css', string $css ) #
Filters the CSS only for the sitemap stylesheet.
Parameters
- $css
(string)CSS to be applied to default XSL file.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |