wp_sitemaps_stylesheet_content WordPress Filter Hook

This hook is called when the content of the WordPress sitemaps stylesheet is being generated. It can be used to modify the stylesheet content before it is outputted to the browser.

apply_filters( 'wp_sitemaps_stylesheet_content', string $xsl_content ) #

Filters the content of the sitemap stylesheet.


Parameters

$xsl_content

(string)Full content for the XML stylesheet.


Top ↑

Source

File: wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.