wp_register_widget_control ( $id, $name, $control_callback, $options = array(), $params )

  • (int|string) $id Sidebar ID.
  • (string) $name Sidebar display name.
  • (callable) $control_callback Run when sidebar is displayed.
  • (array) $options { Optional. Array or string of control options. Default empty array.
  • (mixed) $params ...$params Optional additional parameters to pass to the callback function when it's called.
Defined at:


Registers widget control callback for customizing options.

Related Functions

wp_unregister_widget_control, register_widget_control, unregister_widget_control, wp_list_widget_controls, wp_widget_control

Top Google Results

User discussions

wpseek mobile