apply_filters( 'rest_envelope_response', array $envelope, WP_REST_Response $response )

Filters the enveloped form of a response.


Parameters

$envelope

Envelope data.

$response

Original response data.


Source

File: wp-includes/rest-api/class-wp-rest-server.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.