_register_widget_update_callback
_register_widget_update_callback ( $id_base, $update_callback, $options = array(), $params )
Parameters:- (string) id_base The base ID of a widget created by extending WP_Widget.
- (callable) update_callback Update callback method for the widget.
- (array) options Optional. Widget control options. See wp_register_widget_control(). Default empty array.
- (mixed) params Optional additional parameters to pass to the callback function when it's called.
Defined at:Change Log: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Registers the update callback for a widget.