WP_REST_Request::set_headers()
Sets headers on the request.
Sets headers on the request.
Sets HTTP method for the request.
Sets a parameter on the request.
Sets parameters from the query string.
Sets the route that matched the request.
Sets parameters from the route.
Core class used to implement a REST response object.
Adds a link to the response.
Adds multiple links to the response.
Retrieves a WP_Error object from the response.