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