Filter hook 'wp_sitemaps_stylesheet_url'
in WP Core File wp-includes/sitemaps/class-wp-sitemaps-renderer.php at line 84
Description
Filters the URL for the sitemap stylesheet. If a falsey value is returned, no stylesheet will be used and the "raw" XML of the sitemap will be displayed.
Occurrences
Filename |
Line Number |
wp-includes/sitemaps/class-wp-sitemaps-renderer.php |
84 |
Parameters
Type |
Name |
Description |
string |
$sitemap_url |
Full URL for the sitemaps XSL file. |
PHP Doc
/**
* Filters the URL for the sitemap stylesheet.
*
* If a falsey value is returned, no stylesheet will be used and
* the "raw" XML of the sitemap will be displayed.
*
* @since 5.5.0
*
* @param string $sitemap_url Full URL for the sitemaps XSL file.
*/