wordpress / latest / hooks / wp_sitemaps_stylesheet_css.html

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

File: wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php. View all references

return apply_filters( 'wp_sitemaps_stylesheet_css', $css );

Changelog

Version Description
5.5.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_stylesheet_css