register_widget_control
register_widget_control ( $name, $control_callback, $width = '', $height = '', $params )
Parameters:- (int|string) name Sidebar ID.
- (callable) control_callback Widget control callback to display and process form.
- (int) width Widget width.
- (int) height Widget height.
- (mixed) params Widget parameters.
See:Defined at: - Introduced in WordPress: 2.2.0
- Deprecated in WordPress: 2.8.0
Description
Registers widget control callback for customizing options.Allows $name to be an array that accepts either three elements to grab the
first element and the third for the name or just uses the first element of
the array for the name.
Passes to wp_register_widget_control() after the argument list has
been compiled.