rest_envelope_response

rest_envelope_response

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_envelope_response') is found 1 times:

  • /wp-includes/rest-api/class-wp-rest-server.php line 881
    		 *     @type array $headers Map of header name to header value.
    		 * }
    		 * @param WP_REST_Response $response Original response data.
    		 */
    		$envelope = apply_filters( 'rest_envelope_response', $envelope, $response );
    
    		// Ensure it's still a response and return.
    		return rest_ensure_response( $envelope );
    	}
    
    	/**
    

See this hook used in plugins: