File: wp-includes/class-wp-widget.php
-
Registers an instance of the widget class.
-
Saves the settings for all instances of the widget class.
-
Retrieves the settings for all instances of the widget class.
-
Generates the actual widget content (Do NOT override).
-
Filters the settings for a particular widget instance.
-
Handles changed settings (Do NOT override).
-
Filters a widget’s settings before saving.
-
Generates the widget control form (Do NOT override).
-
Filters the widget instance’s settings before displaying the control form.
-
hookin_widget_form
Fires at the end of the widget control form.
-
classWP_Widget
Core base class extended to register widgets.
-
Retrieves the widget update callback.
-
methodWP_Widget::widget()
Echoes the widget content.
-
Retrieves the form callback.
-
methodWP_Widget::update()
Updates a particular instance of a widget.
-
methodWP_Widget::is_preview()
Determines whether the current request is inside the Customizer preview.
-
methodWP_Widget::form()
Outputs the settings update form.
-
methodWP_Widget::__construct()
PHP5 constructor.
-
methodWP_Widget::WP_Widget()
PHP4 constructor.
-
Constructs name attributes for use in form() fields
-
Constructs id attributes for use in WP_Widget::form() fields.
-
methodWP_Widget::_register()
Register all widget instances of this widget class.
-
methodWP_Widget::_set()
Sets the internal order number for the widget instance.
-
Retrieves the widget display callback.