do_action( 'customize_post_value_set', string $setting_id, mixed $value, WP_Customize_Manager $manager )
- Since
- 4.4.0
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.
Compatibility
- WordPress
- since 4.4.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$setting_idstring- Setting ID.
$valuemixed- Unsanitized setting post value.
$managerWP_Customize_Manager- WP_Customize_Manager instance.
Where this hook fires · 1
wp-includes/class-wp-customize-manager.php:1899WP_Customize_Manager::set_post_value()
Source code
* @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. */ do_action( 'customize_post_value_set', $setting_id, $value, $this ); } /** * Prints JavaScript settings. * * @since 3.4.0Changelog
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 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.