WordPress at a glance
function is not described

WP_REST_Controller::get_item_schema() public WP 4.7.0

Retrieves the item's schema, conforming to JSON Schema.

{} It's a method of the class: WP_REST_Controller{}

No Hooks.

Return

Array. Item schema data.

Usage

$WP_REST_Controller = new WP_REST_Controller();
$WP_REST_Controller->get_item_schema();

Changelog

Since 4.7.0 Introduced.

Code of WP_REST_Controller::get_item_schema() WP 5.5.1

<?php
public function get_item_schema() {
	return $this->add_additional_fields_schema( array() );
}