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, register_block_pattern, rest_application_password_check_errors, rest_sanitize_value_from_schema, unregister_block_pattern

Top Google Results

User discussions

wpseek mobile