WP_REST_Widgets_Controller::retrieve_widgets()
Method: Looks for “lost” widgets once per request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:502
Method: Looks for “lost” widgets once per request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:502
Method: Checks if a sidebar can be read publicly.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:194
Method: Retrieves the widget’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:797
Action Hook: Fires after a widget is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:649
Method: Prepares the widget for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:666
Filter Hook: Filters the REST API response for a widget.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:742
Method: Prepares links for the widget.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:753
Method: Gets the list of collection params.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:780
Method: Checks if a given request has access to delete widgets.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:351
Method: Widgets controller constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:40
Method: Deletes a widget.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:366
Method: Registers the widget routes for the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:50
Action Hook: Fires after a widget is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:468
Method: Checks if a given request has access to get widgets.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:115
Method: Performs a permissions check for managing widgets.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:481
Method: Retrieves a collection of widgets.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:138
Method: Saves the widget in the request object.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:521
Method: Checks if a given request has access to get a widget.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:173
Method: Gets an individual widget.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:208
Method: Checks if a given request has access to create widgets.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:233
Method: Creates a widget.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:245
Method: Checks if a given request has access to update widgets.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:277
Method: Updates an existing widget.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:291
Class: Core class to access widgets via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php:17