wordpress / latest / hooks / wp_get_custom_css.html

apply_filters( 'wp_get_custom_css', string $css, string $stylesheet )

Filters the custom CSS output into the head element.

Parameters

$css string
CSS pulled in from the Custom CSS post type.
$stylesheet string
The theme stylesheet name.

Source

File: wp-includes/theme.php. View all references

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

Used By

Used By Description

Changelog

Version Description
4.7.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_custom_css