File: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php
-
Renders a single Legacy Widget and wraps it in a JSON-encodable array.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:599 -
Renders a page containing a preview of the requested Legacy Widget block.
Used by 1 function | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:618 -
Filters the REST API response for a widget type.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:352 -
Prepares links for the widget type.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:363 -
Retrieves the widget type’s schema, conforming to JSON Schema.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:381 -
An RPC-style endpoint which can be used by clients to turn user input in a widget admin form into an encoded instance object.
Used by 0 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:454 -
Returns the output of WP_Widget::widget() when called with the provided instance. Used by encode_form_data() to preview a widget.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:551 -
Returns the output of WP_Widget::form() when called with the provided instance. Used by encode_form_data() to preview a widget’s form.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:567 -
Retrieves the query params for collections.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:669 -
Normalize array of widgets.
Used by 2 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:228 -
Retrieves a single widget type from the collection.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:276 -
Prepares a widget type object for serialization.
Used by 2 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:297 -
Core class to access widget types via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:17 -
Constructor.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:24 -
Registers the widget type routes.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:36 -
Checks whether a given request has permission to read widget types.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:135 -
Retrieves the list of all widget types.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:147 -
Checks if a given request has access to read a widget type.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:165 -
Checks whether the user can read widget types.
Used by 2 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:186 -
Gets the details about the requested widget.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:208