WordPress at Your Fingertips
function is not described

WC_Widget_Layered_Nav::update() public WC 1.0

Updates a particular instance of a widget.

{} It's a 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

Code of WC_Widget_Layered_Nav::update() WC 5.8.0

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