Used By
Used By | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php: WP_REST_Plugins_Controller::prepare_item_for_response() | Prepares the plugin for the REST response. |
Filters the plugin data for a response.
(WP_REST_Response) The response object.
(array) The plugin item from get_plugin_data().
(WP_REST_Request) The request object.
File: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_prepare_plugin