wp_sitemaps_stylesheet_index_content WordPress Filter Hook
The wp_sitemaps_stylesheet_index_content hook allows you to modify the sitemap index stylesheet. This hook is useful for customizing the sitemap index stylesheet to match your theme.
apply_filters( 'wp_sitemaps_stylesheet_index_content', string $xsl_content ) #
Filters the content of the sitemap index stylesheet.
Parameters
- $xsl_content
(string)Full content for the XML stylesheet.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |