WP_REST_Post_Types_Controller::get_item_schema

SummerySummery

Retrieves the post type’s schema, conforming to JSON Schema.

Syntax

WP_REST_Post_Types_Controller::get_item_schema()

ReturnReturn

(array) Item schema data.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top