apply_filters( 'rest_pre_echo_response', array $result, WP_REST_Server $server, WP_REST_Request $request )  Filters the REST API response.   Description Allows modification of the response data after inserting embedded data (if any) and before echoing the response data.   Parameters   $result array    Response data to send to the client.    $server WP_REST_Server    Server instance.    $request WP_REST_Request    Request used to generate the response.      Source  File: wp-includes/rest-api/class-wp-rest-server.php. View all references  $result = apply_filters( 'rest_pre_echo_response', $result, $this, $request );
   Related  Used By    Used By Description      WP_REST_Server8b7c:f320:99b9:690f:4595:cd17:293a:c069serve_request() wp-includes/rest-api/class-wp-rest-server.php   Handles serving a REST API request.   
    Changelog    Version Description     4.8.1 Introduced.    

    
{'path': 'public/docs/wordpress/hooks/rest_pre_echo_response.html', 'source': 'DevDocs.IO'}