WC_Widget_Layered_Nav::update │ public │ WC 1.0

Updates a particular instance of a widget.

Метод класса: WC_Widget_Layered_Nav{}

Хуков нет.

Возвращает

array.

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

$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 11.3.0

public function update( $new_instance, $old_instance ) {
	$this->init_settings();
	return parent::update( $new_instance, $old_instance );
}