WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Купить персональные IPV4 и IPV6 прокси
событие не описано

customize_preview_(id) хук-событие . WP 3.4.0

Fires when the WP_Customize_Setting::preview() method is called for settings not handled as theme_mods or options.

The dynamic portion of the hook name, $this->id, refers to the setting ID.

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

add_action( 'customize_preview_(id)', 'action_function_name_624' );
function action_function_name_624( $this ){
	// action...
}
$this(WP_Customize_Setting)
WP_Customize_Setting instance.

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

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

Где вызывается хук

WP_Customize_Setting::preview()
customize_preview_(id)
wp-includes/class-wp-customize-setting.php 384
do_action( "customize_preview_{$this->id}", $this );

Где используется хук (в ядре WP)

wp-includes/class-wp-customize-nav-menus.php 66
add_action( 'customize_preview_init', array( $this, 'customize_preview_init' ) );
wp-includes/class-wp-customize-nav-menus.php 67
add_action( 'customize_preview_init', array( $this, 'make_auto_draft_status_previewable' ) );
wp-includes/class-wp-customize-widgets.php 119
add_action( 'customize_preview_init', array( $this, 'customize_preview_init' ) );
wp-includes/class-wp-customize-widgets.php 128
add_action( 'customize_preview_init', array( $this, 'selective_refresh_init' ) );
wp-includes/customize/class-wp-customize-selective-refresh.php 67
add_action( 'customize_preview_init', array( $this, 'init_preview' ) );