Reference › Hooks do_action( 'customize_post_value_set' , string $setting_id , mixed $value , WP_Customize_Manager $manager )
Since 4.4.0 Description Parameters Fired at Source History Announces when any setting's unsanitized post value has been set.
Description 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.
Parameters
$setting_idstring Setting ID.
$valuemixed Unsanitized setting post value.
$managerWP_Customize_Manager WP_Customize_Manager instance. Fired at · 1 wp-includes/class-wp-customize-manager.php:1898WP_Customize_Manager::set_post_value() Source View on Trac ↗ View on GitHub ↗
1892 * @since 4.4 .0 1893 * 1894 * @param string $setting_id Setting ID . 1895 * @param mixed $value Unsanitized setting post value. 1896 * @param WP_Customize_Manager $manager WP_Customize_Manager instance. 1897 * / 1898 do_action ( 'customize_post_value_set' , $setting_id , $value , $this ) ; 1899 } 1900 1901 / ** 1902 * Prints JavaScript settings. 1903 * 1904 * @since 3.4 .0 History Introduced in 4.4.0 . Unchanged from 6.7.7 through 7.1.0.
6.7.7 6.8.8 6.9.7 7.0.4 7.1.0 Signature, return type and hooks compared across 5 parsed releases.
About this page Parsed data Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. Corrections Something wrong on this page? Report it and it gets fixed in the next regeneration.