WP_REST_Widget_Types_Controller
Core class to access widget types via the REST API.
Core class to access widget types via the REST API.
Constructor.
Checks whether the user can read widget types.
An RPC-style endpoint which can be used by clients to turn user input in a widget admin form into an encoded instance object.
Retrieves the query params for collections.
Retrieves a single widget type from the collection.
Checks if a given request has access to read a widget type.
Retrieves the widget type’s schema, conforming to JSON Schema.
Retrieves the list of all widget types.
Checks whether a given request has permission to read widget types.