wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_json_schema_allowed_keywords › WordPress Filter Hooks
Since7.1.0
Deprecatedn/a
› apply_filters( 'wp_json_schema_allowed_keywords', $allowed_keywords, $schema_profile )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Filters the JSON Schema keywords allowed for a given schema profile.
Adding a keyword lets it stay in the schema output for that profile. It does not make WordPress validate or sanitize values against the keyword.Related Functions: wp_get_json_schema_allowed_keywords, _wp_prepare_json_schema_for_client_with_allowed_keywords, rest_get_allowed_schema_keywords, wp_is_file_mod_allowed, _wp_get_allowed_postdata, wp_kses_allowed_html