|wp-includes/rest-api.php: rest_ensure_response()|| |
Ensures a REST response is a response object (for consistency).
|wp-includes/rest-api/class-wp-rest-server.php: rest_envelope_response|| |
Filters the enveloped form of a response.
|wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::response_to_data()|| |
Converts a response to data to send.
|wp-includes/plugin.php: apply_filters()|| |
Calls the callback functions that have been added to a filter hook.