WP_REST_Widget_Types_Controller::get_items()
Retrieves the list of all widget types.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Retrieves the list of all widget types.
Checks whether a given request has permission to read widget types.
Gets the details about the requested widget.
Returns the output of WP_Widget::form() when called with the provided instance. Used by encode_form_data() to preview a widget’s form.
Returns the output of WP_Widget::widget() when called with the provided instance. Used by encode_form_data() to preview a widget.
Normalize array of widgets.
Prepares a widget type object for serialization.
Prepares links for the widget type.
Registers the widget type routes.
Renders a single Legacy Widget and wraps it in a JSON-encodable array.