wp_sitemaps_stylesheet_css WordPress Filter Hook

The wp_sitemaps_stylesheet_css hook is used to add custom CSS to the WordPress sitemap stylesheet. This hook is used by developers to add custom styles to their sitemaps, and is not intended for general use by site administrators.

apply_filters( 'wp_sitemaps_stylesheet_css', string $css ) #

Filters the CSS only for the sitemap stylesheet.


Parameters

$css

(string)CSS to be applied to default XSL file.


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.