WP_REST_Attachments_Controller::get_collection_params()
Retrieves the query params for collections of attachments.
Retrieves the query params for collections of attachments.
Parses filename from a Content-Disposition header value.
Retrieves the attachment’s schema, conforming to JSON Schema.
Retrieves the supported media types.
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.
Updates a single attachment.
Handles an upload via raw POST data.
Handles an upload via multipart/form-data ($_FILES).