WP_REST_Controller::get_item_schema(): array

In this article

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

Return

array Item schema data.

Source

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

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.