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:1328
Method: Gets the request args for the edit item route.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1328
Method: Checks if a given request has access to editing media.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:408
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:428
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:667
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:234
Method: Performs post processing on an attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:375
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:396
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:1276
Method: Handles an upload via multipart/form-data ($_FILES).
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1186
Method: Retrieves the supported media types.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1250
Method: Parses filename from a Content-Disposition header value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1107
Method: Retrieves the query params for collections of attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1155
Filter Hook: Filters an attachment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:843
Method: Retrieves the attachment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:853
Method: Handles an upload via raw POST data.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:975
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:307
Method: Updates a single attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:323
Method: Prepares a single attachment for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:686
Method: Prepares a single attachment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:724
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