wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_json_schema_allowed_keywords › Filtr WordPress Hooks

Od7.1.0
Przestarzałyn/a
› apply_filters( 'wp_json_schema_allowed_keywords', $allowed_keywords, $schema_profile )
Parametry: (2)
  • () allowed_keywords Allowed JSON Schema keywords.
    Wymagane: Tak
  • () schema_profile The schema profile the keywords are for.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the JSON Schema keywords allowed for a given schema profile.

Use this to decide which keywords may be exposed to clients for a profile. It does not make WordPress validate or sanitize values against the keyword.




Źródło

return apply_filters( 'wp_json_schema_allowed_keywords', $allowed_keywords, $schema_profile );