rest_validate_array_value_from_schema


rest_validate_array_value_from_schema ( $value, $args, $param )

Parameters:
  • (mixed) value The value to validate.
  • (array) args Schema array to use for validation.
  • (string) param The parameter name, used in error messages.
Returns:
  • (true|WP_Error)
Defined at:

Description

Validates an array value based on a schema.

Related Functions

rest_validate_value_from_schema, rest_validate_null_value_from_schema, rest_validate_number_value_from_schema, rest_validate_string_value_from_schema, rest_validate_boolean_value_from_schema

Top Google Results

User discussions

wpseek mobile