Parsed: 118048
<?php /** * Widget API: WP_Widget base class * * @package WordPress * @subpackage Widgets * @since 4.4.0 */ #[AllowDynamicProperties] /* class WP_Widget */ /* function WP_Widget::widget() – Echoes the widget content. */ /* function WP_Widget::update() – Updates a particular instance of a widget. */ /* function WP_Widget::form() – Outputs the settings update form. */ /* function WP_Widget::__construct() – PHP5 constructor. */ /* function WP_Widget::WP_Widget() – PHP4 constructor. */ /* function WP_Widget::get_field_name() – Constructs name attributes for use in form() fields */ /* function WP_Widget::get_field_id() – Constructs id attributes for use in WP_Widget::form() fields. */ /* function WP_Widget::_register() – Register all widget instances of this widget class. */ /* function WP_Widget::_set() – Sets the internal order number for the widget instance. */ /* function WP_Widget::_get_display_callback() – Retrieves the widget display callback. */ /* function WP_Widget::_get_update_callback() – Retrieves the widget update callback. */ /* function WP_Widget::_get_form_callback() – Retrieves the form callback. */ /* function WP_Widget::is_preview() – Determines whether the current request is inside the Customizer preview. */ /* function WP_Widget::display_callback() – Generates the actual widget content (Do NOT override). */ /* function WP_Widget::update_callback() – Handles changed settings (Do NOT override). */ /* function WP_Widget::form_callback() – Generates the widget control form (Do NOT override). */ /* function WP_Widget::_register_one() – Registers an instance of the widget class. */ /* function WP_Widget::save_settings() – Saves the settings for all instances of the widget class. */ /* function WP_Widget::get_settings() – Retrieves the settings for all instances of the widget class. */