Used By
Used By | Description |
---|---|
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::serve_request() | Handles serving an API request. |
Filters the API response.
Allows modification of the response data after inserting embedded data (if any) and before echoing the response data.
(array) Response data to send to the client.
(WP_REST_Server) Server instance.
(WP_REST_Request) Request used to generate the response.
Version | Description |
---|---|
4.8.1 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_pre_echo_response