rest_find_matching_pattern_property_schema


rest_find_matching_pattern_property_schema ( $property, $args )

Parameters:
  • (string) property The property name to check.
  • (array) args The schema array to use.
Returns:
  • (array|null) The schema of matching pattern property, or null if no patterns match.
Defined at:

Description

Finds the schema for a property using the patternProperties keyword.

Related Functions

rest_find_any_matching_schema, rest_find_one_matching_schema, rest_validate_string_value_from_schema, _register_block_bindings_pattern_overrides_source, rest_handle_multi_type_schema

Top Google Results

User discussions

wpseek mobile