WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Customize_Custom_CSS_Setting::preview() public WP 4.7.9

Add filter to preview post value.

Это метод класса: WP_Customize_Custom_CSS_Setting{}

Хуков нет.

Возвращает

true/false. False when preview short-circuits due no change needing to be previewed.

Использование

$WP_Customize_Custom_CSS_Setting = new WP_Customize_Custom_CSS_Setting();
$WP_Customize_Custom_CSS_Setting->preview();

Список изменений

С версии 4.7.9 Введена.

Код WP Customize Custom CSS Setting::preview: wp-includes/customize/class-wp-customize-custom-css-setting.php WP 5.5.1

<?php
public function preview() {
	if ( $this->is_previewed ) {
		return false;
	}
	$this->is_previewed = true;
	add_filter( 'wp_get_custom_css', array( $this, 'filter_previewed_wp_get_custom_css' ), 9, 2 );
	return true;
}