WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about rest_envelope_response

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/class-wp-rest-server.php apply_filters 789 /**
* Filters the enveloped form of a REST API response.
* @since 4.4.0
* @param array $envelope {
* Envelope data.
* @type array $body Response data.
* @type int $status The 3-digit HTTP status code.
* @type array $headers Map of header name to header value.
* }
* @param WP_REST_Response $response Original response data.

Hook Parameters

Parameter Type Name Description
array $envelop e {
WP_REST_Response $response Original response data.