WP_Sitemaps_Renderer
- Since
- 5.5.0
- Source
wp-includes/sitemaps/class-wp-sitemaps-renderer.php:17
Class WP_Sitemaps_Renderer
Compatibility
- WordPress
- since 5.5.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Hooks and filters fired · 2
Every hook that fires from inside WP_Sitemaps_Renderer, in the order it appears in the class, grouped by the method that fires it.
Properties · 2
$stylesheetstringprotected- XSL stylesheet for styling a sitemap for web browsers.
$stylesheet_indexstringprotected- XSL stylesheet for styling a sitemap for web browsers.
Methods · 8
- __construct()WP_Sitemaps_Renderer constructor.
- get_sitemap_stylesheet_url()Gets the URL for the sitemap stylesheet.
- get_sitemap_index_stylesheet_url()Gets the URL for the sitemap index stylesheet.
- render_index()Renders a sitemap index.
- get_sitemap_index_xml()Gets XML for a sitemap index.
- render_sitemap()Renders a sitemap.
- get_sitemap_xml()Gets XML for a sitemap.
- check_for_simple_xml_availability()Checks for the availability of the SimpleXML extension and errors if missing.
Changelog
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.