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