File: wp-includes/class-wp-customize-widgets.php
-
Tells the script loader to load the scripts and styles of custom blocks if the widgets block editor is enabled.
-
Renders a specific widget using the supplied sidebar arguments.
-
Begins keeping track of the current sidebar being rendered.
-
Finishes keeping track of the current sidebar being rendered.
-
Filters sidebars_widgets to ensure the currently-rendered widget is the only widget in the current sidebar.
-
Filters arguments for dynamic widget partials.
-
Adds hooks for selective refresh.
-
Inject selective refresh data attributes into widget container elements.
-
Ensures the HTML data-* attributes for selective refresh are allowed by kses.
-
List whether each registered widget can be use selective refresh.
-
Determines if a widget supports selective refresh.
-
Retrieves the widget control markup parts.
-
Determines whether the widgets panel is active, based on whether there are sidebars registered.
-
Retrieves the option that was captured from being saved.
-
Refreshes the nonce for widget updates.
-
Retrieves the widget setting type given a setting ID.
-
Inspects the incoming customized data for any widget settings, and dynamically adds them up-front so widgets will be initialized properly.
-
Determines the arguments for a dynamically-created setting.
-
Determine if a widget is rendered on the page.
-
Determines if a sidebar is rendered on the page.
-
Tallies the sidebars rendered via dynamic_sidebar().
-
Pre-filters captured option values before updating.
-
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.
-
Updates widget settings asynchronously.