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

Return Return

(array) Item schema data.

Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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