WP_REST_Attachments_Controller::get_media_types()
Retrieves the supported media types.
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.
Handles an upload via raw POST data.