WC_Widget_Layered_Nav::update
Updates a particular instance of a widget.
Метод класса: WC_Widget_Layered_Nav{}
Хуков нет.
Возвращает
Массив.
Использование
$WC_Widget_Layered_Nav = new WC_Widget_Layered_Nav(); $WC_Widget_Layered_Nav->update( $new_instance, $old_instance );
- $new_instance(массив) (обязательный)
- New Instance.
- $old_instance(массив) (обязательный)
- Old Instance.
Заметки
- Смотрите: WP_Widget->update
Код WC_Widget_Layered_Nav::update() WC Widget Layered Nav::update WC 10.4.3
public function update( $new_instance, $old_instance ) {
$this->init_settings();
return parent::update( $new_instance, $old_instance );
}