rest_validate_json_schema_pattern


rest_validate_json_schema_pattern ( $pattern, $value )

Parameters:
  • (string) pattern The pattern to match against.
  • (string) value The value to check.
Returns:
  • (bool) True if the pattern matches the given value, false otherwise.
Defined at:

Description

Validates if the JSON Schema pattern matches a value.

Related Functions

rest_validate_value_from_schema, rest_validate_string_value_from_schema, rest_validate_boolean_value_from_schema, rest_validate_null_value_from_schema, rest_validate_array_value_from_schema

Top Google Results

User discussions

wpseek mobile