WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag()
Clear out the previewed-applied flag for a multidimensional-aggregated value whenever its post value is updated.
Description
This ensures that the new value will get sanitized and used the next time that WP_Customize_Setting::_multidimensional_preview_filter()
is called for this setting.
See also
Source
File: wp-includes/class-wp-customize-setting.php
final public function _clear_aggregated_multidimensional_preview_applied_flag() { unset( self::$aggregated_multidimensionals[ $this->type ][ $this->id_data['base'] ]['preview_applied_instances'][ $this->id ] ); }
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_setting/_clear_aggregated_multidimensional_preview_applied_flag