rest_validate_number_value_from_schema


rest_validate_number_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 a number value based on a schema.

Related Functions

rest_validate_null_value_from_schema, rest_validate_integer_value_from_schema, rest_validate_value_from_schema, rest_validate_object_value_from_schema, rest_validate_array_value_from_schema

Top Google Results

User discussions

wpseek mobile