_register_widget_form_callback


_register_widget_form_callback ( $id, $name, $form_callback, $options = array(), $params )

Parameters:
  • (int|string) id Widget ID.
  • (string) name Name attribute for the widget.
  • (callable) form_callback Form callback.
  • (array) options Optional. Widget control options. See wp_register_widget_control(). Default empty array.
  • (mixed) params Optional additional parameters to pass to the callback function when it's called.
Defined at:
Change Log:
  • 5: .

Description

Registers the form callback for a widget.

Related Functions

_register_widget_update_callback, wp_register_widget_control, register_widget_control, register_widget, wp_unregister_widget_control

Top Google Results

User discussions

wpseek mobile