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
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. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.