WordPress at a glance
filter is not described

rest_envelope_response filter-hook . WP 4.4.0

Filters the enveloped form of a response.


add_filter( 'rest_envelope_response', 'filter_function_name_2677', 10, 2 );
function filter_function_name_2677( $envelope, $response ){
	// filter...

	return $envelope;
Envelope data.
Original response data.

Where the hook is called

wp-includes/rest-api/class-wp-rest-server.php 634
$envelope = apply_filters( 'rest_envelope_response', $envelope, $response );

Where the hook is used (in WP core)

Does not used.