rest_ensure_request


rest_ensure_request ( $request )

Parameters:
  • (array|WP_REST_Request) $request Request to check.
Returns:
  • (WP_REST_Request) REST request instance.
Defined at:

Description

Ensures request arguments are a request object (for consistency).

Related Functions

rest_ensure_response, rest_do_request, rest_parse_request_arg, rest_handle_options_request, rest_sanitize_request_arg

Top Google Results

User discussions

wpseek mobile