WC_Widget_Layered_Nav::update()
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() WC Widget Layered Nav::update code WC 9.4.2
public function update( $new_instance, $old_instance ) { $this->init_settings(); return parent::update( $new_instance, $old_instance ); }