register_widget_control


register_widget_control ( $name, $control_callback, $width = '', $height = '' )

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.
See:
Defined at:

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.

Related Functions

unregister_widget_control, wp_register_widget_control, wp_unregister_widget_control, register_widget, wp_list_widget_controls

Top Google Results

User discussions

wpseek mobile