wp_register_widget_control


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

Parameters:
  • (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.
Defined at:

Description

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