WP_REST_Attachments_Controller::get_edit_media_item_args()
Method: Gets the request args for the edit item route.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1336
Method: Gets the request args for the edit item route.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1336
Method: Checks if a given request has access to editing media.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:412
Method: Applies edits to a media item and creates a new attachment record.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:432
Filter Hook: Filters the meta data for the new image created by editing an existing image.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:675
Method: Registers the routes for attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:34
Method: Inserts the attachment post in the database. Does not update the attachment meta.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:238
Method: Performs post processing on an attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:379
Method: Checks if a given request can perform post processing on an attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:400
Action Hook: Fires after a single attachment is completely created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:200
Method: Determine if uploaded file exceeds space quota on multisite.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1284
Method: Handles an upload via multipart/form-data ($_FILES).
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1194
Method: Retrieves the supported media types.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1258
Method: Parses filename from a Content-Disposition header value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1115
Method: Retrieves the query params for collections of attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1163
Filter Hook: Filters an attachment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:851
Method: Retrieves the attachment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:861
Method: Handles an upload via raw POST data.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:983
Method: Creates a single attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:149
Action Hook: Fires after a single attachment is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:311
Method: Updates a single attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:327
Method: Prepares a single attachment for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:694
Method: Prepares a single attachment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:732
Class: Core controller used to access attachments via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:17
Method: Determines the allowed query_vars for a get_items() response and prepares for WP_Query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:78
Method: Checks if a given request has access to create an attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:114