Filters plugin data for a REST API response.
Parameters
$responseWP_REST_Response- The response object.
$itemarray- The plugin item from get_plugin_data().
$requestWP_REST_Request- The request object.
Source
return apply_filters( 'rest_prepare_plugin', $response, $item, $request );
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.