Sanitizes (where possible) the params on the request.
WP_REST_Request::set_attributes
Sets the attributes for the request.
WP_REST_Request::get_attributes
Retrieves the attributes for the request.
WP_REST_Request::get_route
Retrieves the route that matched the request.
Advertisement
WP_REST_Request::set_route
Sets the route that matched the request.
WP_REST_Request::parse_body_params
Parses the request body parameters.
WP_REST_Request::parse_json_params
Parses the JSON parameters.
WP_REST_Request::get_json_params
Retrieves the parameters from a JSON-formatted body.
Advertisement
WP_REST_Request::set_body
Sets body content.
WP_REST_Request::get_body
Retrieves the request body content.
WP_REST_Request::set_default_params
Sets default parameters.
WP_REST_Request::get_default_params
Retrieves the default parameters.
Advertisement
WP_REST_Request::set_file_params
Sets multipart file parameters from the body.
WP_REST_Request::get_file_params
Retrieves multipart file parameters from the body.
WP_REST_Request::set_body_params
Sets parameters from the body.