wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_parse_request_arg › WordPress Function
Since4.7.0
已弃用n/a
› rest_parse_request_arg ( $value, $request, $param )
| 参数: (3) |
|
| 返回: |
|
| 定义在: |
|
| 文档: |
Parse a request argument based on details registered to the route.
Runs a validation check and sanitizes the value, primarily to be used via thesanitize_callback arguments in the endpoint args registration.Related Functions: rest_sanitize_request_arg, rest_validate_request_arg, rest_ensure_request, rest_parse_embed_param, rest_do_request