apply_filters( ‘wp_get_custom_css’, string $css, string $stylesheet )

In this article

Filters the custom CSS output into the head element.

Parameters

$cssstring
CSS pulled in from the Custom CSS post type.
$stylesheetstring
The theme stylesheet name.

Source

$css = apply_filters( 'wp_get_custom_css', $css, $stylesheet );

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.