On this page
apply_filters( 'wp_sitemaps_stylesheet_content', string $xsl_content )
Filters the content of the sitemap stylesheet.
Parameters
$xsl_contentstring-
Full content for the XML stylesheet.
Source
File: wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php. View all references
return apply_filters( 'wp_sitemaps_stylesheet_content', $xsl_content );
Related
Used By
| Used By | Description |
|---|---|
| WP_Sitemaps_Stylesheet::get_sitemap_stylesheet() wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php | Returns the escaped XSL for all sitemaps, except index. |
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_content