Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-customize-widgets.php / Page 2

WP_Customize_Widgets::get_instance_hash_key()

Method: Retrieves MAC for a serialized widget instance string.

Source: wp-includes/class-wp-customize-widgets.php:1419

Used by 2 functions | Uses 1 function

WP_Customize_Widgets::capture_filter_pre_get_option()

Method: Pre-filters captured option values before retrieving.

Source: wp-includes/class-wp-customize-widgets.php:2152

Used by 0 functions | Uses 2 functions

WP_Customize_Widgets::sanitize_widget_instance()

Method: Sanitizes a widget instance.

Source: wp-includes/class-wp-customize-widgets.php:1438

Used by 2 functions | Uses 5 functions

WP_Customize_Widgets::stop_capturing_option_updates()

Method: Undoes any changes to the options since options capture began.

Source: wp-includes/class-wp-customize-widgets.php:2170

Used by 1 function | Uses 1 function

WP_Customize_Widgets::sanitize_widget_js_instance()

Method: Converts a widget instance into JSON-representable format.

Source: wp-includes/class-wp-customize-widgets.php:1497

Used by 3 functions | Uses 3 functions

WP_Customize_Widgets::sanitize_sidebar_widgets_js_instance()

Method: Strips out widget IDs for widgets which are no longer registered.

Source: wp-includes/class-wp-customize-widgets.php:1536

Used by 0 functions | Uses 0 functions

WP_Customize_Widgets::call_widget_update()

Method: Finds and invokes the widget update and control callbacks.

Source: wp-includes/class-wp-customize-widgets.php:1556

Used by 1 function | Uses 13 functions

WP_Customize_Widgets::enqueue_scripts()

Method: Enqueues scripts and styles for Customizer panel and export data to JavaScript.

Source: wp-includes/class-wp-customize-widgets.php:699

Used by 0 functions | Uses 20 functions

WP_Customize_Widgets::customize_preview_enqueue()

Method: Enqueues scripts for the Customizer preview.

Source: wp-includes/class-wp-customize-widgets.php:1251

Used by 0 functions | Uses 1 function

WP_Customize_Widgets::output_widget_control_templates()

Method: Renders the widget form control templates into the DOM.

Source: wp-includes/class-wp-customize-widgets.php:888

Used by 0 functions | Uses 6 functions

WP_Customize_Widgets::print_preview_css()

Method: Inserts default style for highlighted widget at early point so theme stylesheet can override.

Source: wp-includes/class-wp-customize-widgets.php:1261

Used by 0 functions | Uses 0 functions

WP_Customize_Widgets::print_footer_scripts()

Method: Calls admin_print_footer_scripts and admin_print_scripts hooks to allow custom scripts from plugins.

Source: wp-includes/class-wp-customize-widgets.php:952

Used by 0 functions | Uses 1 function

WP_Customize_Widgets::get_setting_args()

Method: Retrieves common arguments to supply when constructing a Customizer setting.

Source: wp-includes/class-wp-customize-widgets.php:972

Used by 2 functions | Uses 5 functions

widget_customizer_setting_args

Filter Hook: Filters the common arguments supplied when constructing a Customizer setting.

Source: wp-includes/class-wp-customize-widgets.php:1006

Used by 1 function | Uses 0 functions

WP_Customize_Widgets::sanitize_sidebar_widgets()

Method: Ensures sidebar widget arrays only ever contain widget IDS.

Source: wp-includes/class-wp-customize-widgets.php:1019

Used by 0 functions | Uses 0 functions

WP_Customize_Widgets::get_available_widgets()

Method: Builds up an index of all available widgets for use in Backbone models.

Source: wp-includes/class-wp-customize-widgets.php:1040

Used by 2 functions | Uses 6 functions

WP_Customize_Widgets::_sort_name_callback()

Method: Naturally orders available widgets by name.

Source: wp-includes/class-wp-customize-widgets.php:1130

Used by 0 functions | Uses 0 functions

WP_Customize_Widgets::parse_widget_setting_id()

Method: Converts a widget setting ID (option path) to its id_base and number components.

Source: wp-includes/class-wp-customize-widgets.php:651

Used by 0 functions | Uses 1 function

WP_Customize_Widgets::get_widget_control()

Method: Retrieves the widget control markup.

Source: wp-includes/class-wp-customize-widgets.php:1142

Used by 2 functions | Uses 1 function

WP_Customize_Widgets::print_styles()

Method: Calls admin_print_styles-widgets.php and admin_print_styles hooks to allow custom styles from plugins.

Source: wp-includes/class-wp-customize-widgets.php:668

Used by 0 functions | Uses 1 function

WP_Customize_Widgets::customize_preview_init()

Method: Adds hooks for the Customizer preview.

Source: wp-includes/class-wp-customize-widgets.php:1190

Used by 0 functions | Uses 1 function

WP_Customize_Widgets::print_scripts()

Method: Calls admin_print_scripts-widgets.php and admin_print_scripts hooks to allow custom scripts from plugins.

Source: wp-includes/class-wp-customize-widgets.php:682

Used by 0 functions | Uses 1 function

WP_Customize_Widgets::preview_sidebars_widgets()

Method: When previewing, ensures the proper previewing widgets are used.

Source: wp-includes/class-wp-customize-widgets.php:1239

Used by 0 functions | Uses 1 function

WP_Customize_Widgets

Class: Customize Widgets class.

Source: wp-includes/class-wp-customize-widgets.php:20

Used by 0 functions | Uses 0 functions

WP_Customize_Widgets::schedule_customize_register()

Method: Ensures widgets are available for all types of previews.

Source: wp-includes/class-wp-customize-widgets.php:353

Used by 0 functions | Uses 3 functions

WP_Customize_Widgets::__construct()

Method: Initial loader.

Source: wp-includes/class-wp-customize-widgets.php:100

Used by 1 function | Uses 3 functions

WP_Customize_Widgets::customize_register()

Method: Registers Customizer settings and controls for all sidebars and widgets.

Source: wp-includes/class-wp-customize-widgets.php:370

Used by 1 function | Uses 9 functions

WP_Customize_Widgets::get_post_value()

Method: Retrieves an unslashed post value or return a default.

Source: wp-includes/class-wp-customize-widgets.php:246

Used by 2 functions | Uses 1 function

customizer_widgets_section_args

Filter Hook: Filters Customizer widget section arguments for a given sidebar.

Source: wp-includes/class-wp-customize-widgets.php:475

Used by 1 function | Uses 0 functions

WP_Customize_Widgets::setup_widget_addition_previews()

Method: {@internal Missing Summary}

Source: wp-includes/class-wp-customize-widgets.php:2193

Used by 0 functions | Uses 1 function
Previous 1 2 3 Next
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
Code is Poetry