W3cubDocs

/WordPress

do_action( 'customize_post_value_set', string $setting_id, mixed $value, WP_Customize_Manager $this )

Announce 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_id

(string) Setting ID.

$value

(mixed) Unsanitized setting post value.

$this

(WP_Customize_Manager) WP_Customize_Manager instance.

Source

File: wp-includes/class-wp-customize-manager.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_post_value_set