WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag()publicWP 4.4.0

Clear out the previewed-applied flag for a multidimensional-aggregated value whenever its post value is updated.

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.

Method of the class: WP_Customize_Setting{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Customize_Setting = new WP_Customize_Setting();
$WP_Customize_Setting->_clear_aggregated_multidimensional_preview_applied_flag();

Notes

Changelog

Since 4.4.0 Introduced.

WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag() code WP 6.5.2

final public function _clear_aggregated_multidimensional_preview_applied_flag() {
	unset( self::$aggregated_multidimensionals[ $this->type ][ $this->id_data['base'] ]['preview_applied_instances'][ $this->id ] );
}