wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php:24$typestring public function render_stylesheet( $type ) { header( 'Content-Type: application/xml; charset=UTF-8' ); if ( 'sitemap' === $type ) { // All content is escaped below. echo $this->get_sitemap_stylesheet(); } if ( 'index' === $type ) { // All content is escaped below. echo $this->get_sitemap_index_stylesheet(); } exit; }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
none to never.verified against sourcesrc/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.