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.

{} Это метод класса: WP_Customize_Setting{}

Хуков нет.

Возвращает

null. Ничего.

Использование

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

Заметки

Список изменений

С версии 4.4.0 Введена.

Код WP_Customize_Setting::_clear_aggregated_multidimensional_preview_applied_flag() WP 6.0.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 ] );
}