WordPress at a glance
function is not described

WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag() public WP 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.

{} It's a method of the class: WP_Customize_Setting{}

No Hooks.

Return

null. Nothing.

Usage

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

Notes

  • See: WP_Customize_Manager::set_post_value()
  • See: WP_Customize_Setting::_multidimensional_preview_filter()

Changelog

Since 4.4.0 Introduced.

Code of WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag() WP 5.7.2

<?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 ] );
}