Retrieves the item’s schema, conforming to JSON Schema.
public function get_item_schema() {
return $this->add_additional_fields_schema( array() );
}
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/WP_REST_Controller/get_item_schema