WordPress at a glance
filter is not described

wp_sitemaps_stylesheet_content filter-hook . WP 5.5.0

Filters the content of the sitemap stylesheet.

Usage

add_filter( 'wp_sitemaps_stylesheet_content', 'filter_function_name_9921' );
function filter_function_name_9921( $xsl_content ){
	// filter...

	return $xsl_content;
}
$xsl_content(string)
Full content for the XML stylesheet.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

WP_Sitemaps_Stylesheet::get_sitemap_stylesheet()
wp_sitemaps_stylesheet_content
wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php 150
return apply_filters( 'wp_sitemaps_stylesheet_content', $xsl_content );

Where in WP core the hook is used WordPress

Usage not found.