WP_Customize_Custom_CSS_Setting::filter_previewed_wp_get_custom_css

SummerySummery

Filter wp_get_custom_css for applying the customized value.

Syntax

WP_Customize_Custom_CSS_Setting::filter_previewed_wp_get_custom_css( string $css, string $stylesheet )

DescriptionDescription

This is used in the preview when wp_get_custom_css() is called for rendering the styles.

ParametersParameters

$css

(string) (Required) Original CSS.

$stylesheet

(string) (Required) Current stylesheet.

ReturnReturn

(string) CSS.

SourceSource

File: wp-includes/customize/class-wp-customize-custom-css-setting.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.

See alsoSee also

Scroll to Top