• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/class-wp-widget.php

WP_Widget::display_callback()

Method: Generates the actual widget content (Do NOT override).

Source: wp-includes/class-wp-widget.php:346

Used by 0 functions | Uses 8 functions

widget_display_callback

Filter Hook: Filters the settings for a particular widget instance.

Source: wp-includes/class-wp-widget.php:369

Used by 2 functions | Uses 0 functions

WP_Widget::update_callback()

Method: Handles changed settings (Do NOT override).

Source: wp-includes/class-wp-widget.php:397

Used by 0 functions | Uses 9 functions

widget_update_callback

Filter Hook: Filters a widget’s settings before saving.

Source: wp-includes/class-wp-widget.php:462

Used by 1 function | Uses 0 functions

WP_Widget::form_callback()

Method: Generates the widget control form (Do NOT override).

Source: wp-includes/class-wp-widget.php:488

Used by 0 functions | Uses 8 functions

widget_form_callback

Filter Hook: Filters the widget instance’s settings before displaying the control form.

Source: wp-includes/class-wp-widget.php:515

Used by 1 function | Uses 0 functions

in_widget_form

Action Hook: Fires at the end of the widget control form.

Source: wp-includes/class-wp-widget.php:537

Used by 1 function | Uses 0 functions

WP_Widget::_register_one()

Method: Registers an instance of the widget class.

Source: wp-includes/class-wp-widget.php:550

Used by 4 functions | Uses 6 functions

WP_Widget::save_settings()

Method: Saves the settings for all instances of the widget class.

Source: wp-includes/class-wp-widget.php:563

Used by 2 functions | Uses 1 function

WP_Widget::get_settings()

Method: Retrieves the settings for all instances of the widget class.

Source: wp-includes/class-wp-widget.php:575

Used by 4 functions | Uses 3 functions

WP_Widget::form()

Method: Outputs the settings update form.

Source: wp-includes/class-wp-widget.php:142

Used by 1 function | Uses 1 function

WP_Widget::__construct()

Method: PHP5 constructor.

Source: wp-includes/class-wp-widget.php:162

Used by 16 functions | Uses 1 function

WP_Widget::WP_Widget()

Method: PHP4 constructor.

Source: wp-includes/class-wp-widget.php:192

Used by 0 functions | Uses 2 functions

WP_Widget::get_field_name()

Method: Constructs name attributes for use in form() fields

Source: wp-includes/class-wp-widget.php:209

Used by 0 functions | Uses 0 functions

WP_Widget::get_field_id()

Method: Constructs id attributes for use in WP_Widget::form() fields.

Source: wp-includes/class-wp-widget.php:230

Used by 0 functions | Uses 0 functions

WP_Widget::_register()

Method: Register all widget instances of this widget class.

Source: wp-includes/class-wp-widget.php:239

Used by 0 functions | Uses 3 functions

WP_Widget::_set()

Method: Sets the internal order number for the widget instance.

Source: wp-includes/class-wp-widget.php:273

Used by 4 functions | Uses 0 functions

WP_Widget::_get_display_callback()

Method: Retrieves the widget display callback.

Source: wp-includes/class-wp-widget.php:285

Used by 1 function | Uses 0 functions

WP_Widget

Class: Core base class extended to register widgets.

Source: wp-includes/class-wp-widget.php:20

Used by 15 functions | Uses 0 functions

WP_Widget::_get_update_callback()

Method: Retrieves the widget update callback.

Source: wp-includes/class-wp-widget.php:296

Used by 1 function | Uses 0 functions

WP_Widget::widget()

Method: Echoes the widget content.

Source: wp-includes/class-wp-widget.php:112

Used by 1 function | Uses 0 functions

WP_Widget::_get_form_callback()

Method: Retrieves the form callback.

Source: wp-includes/class-wp-widget.php:307

Used by 1 function | Uses 0 functions

WP_Widget::update()

Method: Updates a particular instance of a widget.

Source: wp-includes/class-wp-widget.php:130

Used by 1 function | Uses 0 functions

WP_Widget::is_preview()

Method: Determines whether the current request is inside the Customizer preview.

Source: wp-includes/class-wp-widget.php:325

Used by 2 functions | Uses 0 functions
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.