rest_validate_integer_value_from_schema
rest_validate_integer_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:Defined at: - Introduced in WordPress: 5.7.0
- Deprecated in WordPress: —
Description
Validates an integer value based on a schema.