WP_REST_Controller::get_item_schema

Advertisement

Summery Summery

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

Syntax Syntax

WP_REST_Controller::get_item_schema()

Return Return

(array) Item schema data.

Source Source

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

	 * Retrieves the query params for the collections.
	 *
	 * @since 4.7.0

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply