_register_widget_update_callback


_register_widget_update_callback ( $id_base, $update_callback, $options = array(), $params )

Parameters:
  • (string) id_base The base ID of a widget created by extending WP_Widget.
  • (callable) update_callback Update callback method for the widget.
  • (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 update callback for a widget.

Related Functions

_register_widget_form_callback, wp_register_widget_control, _sort_uname_callback, register_widget_control, register_widget

Top Google Results

User discussions

wpseek mobile