WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag() WordPress Method
The WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag() method is used to clear the aggregated multidimensional preview applied flag. This flag is used to determine whether changeset values should be used when rendering a preview.
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 ] ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |