WC_Widget_Layered_Nav::update()publicWC 1.0

Updates a particular instance of a widget.

Method of the class: WC_Widget_Layered_Nav{}

No Hooks.

Return

Array.

Usage

$WC_Widget_Layered_Nav = new WC_Widget_Layered_Nav();
$WC_Widget_Layered_Nav->update( $new_instance, $old_instance );
$new_instance(array) (required)
New Instance.
$old_instance(array) (required)
Old Instance.

Notes

  • See: WP_Widget->update

WC_Widget_Layered_Nav::update() code WC 8.7.0

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