WP_REST_Attachments_Controller::get_item_schema

Advertisement

Summery Summery

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

Syntax Syntax

WP_REST_Attachments_Controller::get_item_schema()

Return Return

(array) Item schema as an array.

Source Source

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


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.