WP_REST_Attachments_Controller
Core controller used to access attachments via the REST API.
Core controller used to access attachments via the REST API.
Determine if uploaded file exceeds space quota on multisite.
Creates a single attachment.
Checks if a given request has access to create an attachment.
Applies edits to a media item and creates a new attachment record.
Checks if a given request has access to editing media.
Retrieves the query params for collections of attachments.
Gets the request args for the edit item route.
Parses filename from a Content-Disposition header value.
Retrieves the attachment’s schema, conforming to JSON Schema.