wp_sitemaps_stylesheet_index_content filter-hook . WP 5.5.0
Filters the content of the sitemap index stylesheet.
Usage
add_filter( 'wp_sitemaps_stylesheet_index_content', 'filter_function_name_1461' ); function filter_function_name_1461( $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_index_content
wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php 248
return apply_filters( 'wp_sitemaps_stylesheet_index_content', $xsl_content );