Action hook 'customize_post_value_set'

in WP Core File wp-includes/class-wp-customize-manager.php at line 1898

Description

Announces when any setting's unsanitized post value has been set. Fires when the WP_Customize_Manager::set_post_value() method is called. This is useful for `WP_Customize_Setting` instances to watch in order to update a cached previewed value.

Occurrences

Filename Line Number
wp-includes/class-wp-customize-manager.php 1898

Parameters

Type Name Description
string $setting_id Setting ID.
mixed $value Unsanitized setting post value.
WP_Customize_Manager $manager WP_Customize_Manager instance.

PHP Doc

/**
		 * Announces when any setting's unsanitized post value has been set.
		 *
		 * Fires when the WP_Customize_Manager::set_post_value() method is called.
		 *
		 * This is useful for `WP_Customize_Setting` instances to watch
		 * in order to update a cached previewed value.
		 *
		 * @since 4.4.0
		 *
		 * @param string               $setting_id Setting ID.
		 * @param mixed                $value      Unsanitized setting post value.
		 * @param WP_Customize_Manager $manager    WP_Customize_Manager instance.
		 */