wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
rest_get_allowed_schema_keywords › WordPress Function
Depuis5.6.0
Dépréciéen/a
› rest_get_allowed_schema_keywords ( Pas de paramètres )
Retourne: |
|
Défini(e) dans: |
|
Codex: |
Get all valid JSON schema properties.
Fonctions en relation: get_allowed_themes, rest_send_allow_header, get_site_allowed_themes, get_allowed_http_origins, get_allowed_mime_types
Source
function rest_get_allowed_schema_keywords() { return array( 'title', 'description', 'default', 'type', 'format', 'enum', 'items', 'properties', 'additionalProperties', 'patternProperties', 'minProperties', 'maxProperties', 'minimum', 'maximum', 'exclusiveMinimum', 'exclusiveMaximum', 'multipleOf', 'minLength', 'maxLength', 'pattern', 'minItems', 'maxItems', 'uniqueItems', 'anyOf', 'oneOf', ); }