Store the CSS setting value in the custom_css custom post type for the stylesheet.
WP_Customize_Custom_CSS_Setting::validate
Validate CSS.
customize_value_{$id_base}
This filter is documented in wp-includes/class-wp-customize-setting.php
WP_Customize_Custom_CSS_Setting::value
Fetch the value of the setting. Will return the previewed value when `preview()` is called.
Advertisement
WP_Customize_Custom_CSS_Setting::filter_previewed_wp_get_custom_css
Filter `wp_get_custom_css` for applying the customized value.
WP_Customize_Custom_CSS_Setting::preview
Add filter to preview post value.
WP_Customize_Custom_CSS_Setting::__construct
WP_Customize_Custom_CSS_Setting constructor.
WP_Customize_Custom_CSS_Setting
Custom Setting to handle WP Custom CSS.