WC_Widget_Layered_Nav::update
Updates a particular instance of a widget.
Method of the class: WC_Widget_Layered_Nav{}
No Hooks.
Returns
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() WC Widget Layered Nav::update code WC 10.4.3
public function update( $new_instance, $old_instance ) {
$this->init_settings();
return parent::update( $new_instance, $old_instance );
}