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

customize_post_value_set_(setting_id) хук-событие . WP 4.4.0

Announce when a specific setting's unsanitized post value has been set.

Fires when the WP_Customize_Manager::set_post_value() method is called.

The dynamic portion of the hook name, $setting_id, refers to the setting ID.


add_action( 'customize_post_value_set_(setting_id)', 'action_function_name_1484', 10, 2 );
function action_function_name_1484( $value, $this ){
	// action...
Unsanitized setting post value.
WP_Customize_Manager instance.

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

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

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

wp-includes/class-wp-customize-manager.php 1817
do_action( "customize_post_value_set_{$setting_id}", $value, $this );

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

wp-includes/class-wp-customize-setting.php 243
add_action( "customize_post_value_set_{$this->id}", array( $this, '_clear_aggregated_multidimensional_preview_applied_flag' ), 9 );
wp-includes/class-wp-customize-setting.php 344
add_action( "customize_post_value_set_{$this->id}", array( $this, 'preview' ) );