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

Filters the enveloped form of a response.


Description Description


Parameters Parameters

$envelope

(array) Envelope data.

$response

(WP_REST_Response) Original response data.


Top ↑

Source Source

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

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.