do_action( ‘customize_post_value_set’, string $setting_id, mixed $value, WP_Customize_Manager $manager )

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

Source

do_action( 'customize_post_value_set', $setting_id, $value, $this );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.