rest_sanitize_request_arg
rest_sanitize_request_arg ( $value, $request, $param )
Parameters:- (mixed) value
- (WP_REST_Request) request
- (string) param
Returns:Defined at: - Introduced in WordPress: 4.7.0
- Deprecated in WordPress: —
Description
Sanitize a request argument based on details registered to the route.