wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_{$this->post_type}_item_schema › WordPress Filter Hooks
Since5.4.0
Deprecatedn/a
› apply_filters( "rest_{$this->post_type}_item_schema", $schema )
Parameters: |
|
Defined at: | |
Codex: |
Filters the post's schema.
The dynamic portion of the filter, $this->post_type
, refers to the
post type slug for the controller.
Related Functions: rest_handle_multi_type_schema, is_post_type_hierarchical, get_post_type_capabilities, get_the_post_type_description, get_post_type_archive_template, is_post_type_archive