_register_widget_form_callback
_register_widget_form_callback ( $id, $name, $form_callback, $options = array(), $params )
Parameters:- (int|string) id Widget ID.
- (string) name Name attribute for the widget.
- (callable) form_callback Form callback.
- (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 form callback for a widget.