wp_sitemaps_stylesheet_index_content WordPress Filter Hook

The wp_sitemaps_stylesheet_index_content hook allows you to modify the sitemap index stylesheet. This hook is useful for customizing the sitemap index stylesheet to match your theme.

apply_filters( 'wp_sitemaps_stylesheet_index_content', string $xsl_content ) #

Filters the content of the sitemap index 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.