apply_filters( 'wp_sitemaps_stylesheet_index_url', string $sitemap_url )

Filters the URL for the sitemap index stylesheet.


Description

If a falsey value is returned, no stylesheet will be used and the "raw" XML of the sitemap index will be displayed.


Top ↑

Parameters

$sitemap_url string
Full URL for the sitemaps index XSL file.

Top ↑

Source

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

return apply_filters( 'wp_sitemaps_stylesheet_index_url', $sitemap_url );


Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.