Used By
Used By | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_item_schema() | Retrieves the post’s schema, conforming to JSON Schema. |
Filter the post’s schema.
The dynamic portion of the filter, $this->post_type
, refers to the post type slug for the controller.
(array) Item schema data.
File: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
Version | Description |
---|---|
5.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_this-post_type_item_schema