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_array, rest_sanitize_object, rest_sanitize_boolean

Top Google Results

User discussions

wpseek mobile