rest_do_request


rest_do_request ( $request )

Parameters:
  • (WP_REST_Request|string) request Request.
Returns:
  • (WP_REST_Response) REST response.
Defined at:

Description

Do a REST request.Used primarily to route internal requests through WP_REST_Server.

Related Functions

rest_ensure_request, rest_preload_api_request, rest_handle_options_request, rest_parse_request_arg, rest_validate_request_arg

Top Google Results

User discussions

wpseek mobile