WC_Widget_Layered_Nav::update()publicWC 1.0

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 8.7.0

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