WP_REST_Attachments_Controller::get_item_schema()
Retrieves the attachment’s schema, conforming to JSON Schema.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Retrieves the attachment’s schema, conforming to JSON Schema.
Retrieves the supported media types.
Inserts the attachment post in the database. Does not update the attachment meta.
Performs post processing on an attachment.
Checks if a given request can perform post processing on an attachment.
Prepares a single attachment for create or update.
Prepares a single attachment output for response.
Determines the allowed query_vars for a get_items() response and prepares for WP_Query.
Registers the routes for attachments.
Updates a single attachment.