rest_sanitize_request_arg


rest_sanitize_request_arg ( $value, $request, $param )

Parameters:
  • (mixed) $value
  • (WP_REST_Request) $request
  • (string) $param
Returns:
  • (mixed)
Defined at:

Description

Sanitize a request argument based on details registered to the route.

Related Functions

rest_validate_request_arg, rest_parse_request_arg, rest_sanitize_boolean, rest_ensure_request, rest_handle_options_request

Top Google Results

User discussions

wpseek mobile