Summery Summery
Filter the post’s schema.
Syntax Syntax
Description Description
The dynamic portion of the filter, $this->post_type
, refers to the post type slug for the controller.
Parameters Parameters
- $schema
-
Item schema data.
Source Source
File: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.4.0 | Introduced. |