Description
Filters the REST API response for a widget type.
Occurrences
Filename | Line Number |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php | 352 |
Parameters
Type | Name | Description |
---|---|---|
WP_REST_Response | $response | The response object. |
array | $widget_type | The array of widget data. |
WP_REST_Request | $request | The request object. |
PHP Doc
/**
* Filters the REST API response for a widget type.
*
* @since 5.8.0
*
* @param WP_REST_Response $response The response object.
* @param array $widget_type The array of widget data.
* @param WP_REST_Request $request The request object.
*/