wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_validate_enum › WordPress Function
Since5.7.0
Deprecatedn/a
› rest_validate_enum ( $value, $args, $param )
| Parameters: (3) |
|
| Returns: |
|
| Defined at: |
|
| Codex: |
Validates that the given value is a member of the JSON Schema "enum".
Related Functions: rest_validate_request_arg, validate_email, rest_validate_value_from_schema, validate_file, wp_validate_boolean