File: wp-includes/rest-api/class-wp-rest-request.php
-
Checks if the request has specified a JSON Content-Type.
-
Checks if a parameter exists in the request.
-
Retrieves a WP_REST_Request object from a full URL.
Used by 2 functions | Uses 6 functions | Source: wp-includes/rest-api/class-wp-rest-request.php:1027 -
Filters the REST API request generated from a URL.
-
-
Retrieves the attributes for the request.
-
Sets the attributes for the request.
-
Sanitizes (where possible) the params on the request.
-
Checks whether this request is valid according to its attributes.
-
-
-
-
Parses the request body parameters.
-
Retrieves the route that matched the request.
-
Sets the route that matched the request.
-
Sets body content.
-
Retrieves the parameters from a JSON-formatted body.
-
Parses the JSON parameters.
-
Retrieves parameters from the body.
-
Sets parameters from the body.
-
Retrieves multipart file parameters from the body.
-
Sets multipart file parameters from the body.
-
Retrieves the default parameters.
-
Sets default parameters.
-
Retrieves the request body content.
-
Sets parameters from the query string.
-
Filters the parameter priority order for a REST API request.
-
Retrieves a parameter from the request.
-
Sets a parameter on the request.
-
Retrieves merged parameters from the request.