File: wp-includes/class-wp-customize-widgets.php
-
Retrieves MAC for a serialized widget instance string.
-
Pre-filters captured option values before retrieving.
-
Sanitizes a widget instance.
-
Undoes any changes to the options since options capture began.
-
Converts a widget instance into JSON-representable format.
-
Strips out widget IDs for widgets which are no longer registered.
-
Finds and invokes the widget update and control callbacks.
-
Enqueues scripts and styles for Customizer panel and export data to JavaScript.
-
Enqueues scripts for the Customizer preview.
-
Renders the widget form control templates into the DOM.
-
Inserts default style for highlighted widget at early point so theme stylesheet can override.
-
Calls admin_print_footer_scripts and admin_print_scripts hooks to allow custom scripts from plugins.
-
Retrieves common arguments to supply when constructing a Customizer setting.
-
Filters the common arguments supplied when constructing a Customizer setting.
-
Ensures sidebar widget arrays only ever contain widget IDS.
-
Builds up an index of all available widgets for use in Backbone models.
-
Naturally orders available widgets by name.
-
Converts a widget setting ID (option path) to its id_base and number components.
-
Retrieves the widget control markup.
-
Calls admin_print_styles-widgets.php and admin_print_styles hooks to allow custom styles from plugins.
-
Adds hooks for the Customizer preview.
-
Calls admin_print_scripts-widgets.php and admin_print_scripts hooks to allow custom scripts from plugins.
-
When previewing, ensures the proper previewing widgets are used.
-
classWP_Customize_Widgets
Customize Widgets class.
-
Ensures widgets are available for all types of previews.
-
Initial loader.
-
Registers Customizer settings and controls for all sidebars and widgets.
-
Retrieves an unslashed post value or return a default.
-
Filters Customizer widget section arguments for a given sidebar.
-
{@internal Missing Summary}