Codex tools: Log in
Contents |
Registers widget control callback for customizing options.
The options contains the height, width, and id_base keys. The height
option is never used. The width option is the width of the fully expanded
control form, but try hard to use the default width. The id_base is for
multi-widgets (widgets which allow multiple instances such as the text
widget), an id_base must be provided. The widget id will end up looking like
{$id_base}-{$unique_number}.
Since: 2.2.0
wp_register_widget_control() is located in wp-includes/widgets.php