Filter hook 'wp_sitemaps_stylesheet_index_url'

in WP Core File wp-includes/sitemaps/class-wp-sitemaps-renderer.php at line 115

Description

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

Occurrences

Filename Line Number
wp-includes/sitemaps/class-wp-sitemaps-renderer.php 115

Parameters

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

PHP Doc

/**
		 * Filters the URL for the sitemap index stylesheet.
		 *
		 * If a falsey value is returned, no stylesheet will be used and
		 * the "raw" XML of the sitemap index will be displayed.
		 *
		 * @since 5.5.0
		 *
		 * @param string $sitemap_url Full URL for the sitemaps index XSL file.
		 */