wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
rest_{$this->post_type}_item_schema › WordPress Filter Hooks
Da5.4.0
Deprecaton/a
› apply_filters( "rest_{$this->post_type}_item_schema", $schema )
| Parametri: |
|
| Definito a: | |
| Codex: |
Filters the post's schema.
The dynamic portion of the filter, `$this->post_type`, refers to the post type slug for the controller. Possible hook names include: - `rest_post_item_schema` - `rest_page_item_schema` - `rest_attachment_item_schema`Funzioni correlate: rest_get_route_for_post_type_items, rest_handle_multi_type_schema, is_post_type_hierarchical, get_post_type_capabilities, get_the_post_type_description, get_post_type_archive_template