File: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
-
Gets the request args for the edit item route.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1337 -
Checks if a given request has access to editing media.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:412 -
Applies edits to a media item and creates a new attachment record.
Used by 0 functions | Uses 23 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:432 -
Filters the meta data for the new image created by editing an existing image.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:675 -
Registers the routes for attachments.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:34 -
Inserts the attachment post in the database. Does not update the attachment meta.
Used by 1 function | Uses 11 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:238 -
Performs post processing on an attachment.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:379 -
Checks if a given request can perform post processing on an attachment.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:400 -
Fires after a single attachment is completely created or updated via the REST API.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:200 -
Determine if uploaded file exceeds space quota on multisite.
Used by 2 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1285 -
Handles an upload via multipart/form-data ($_FILES).
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1195 -
Retrieves the supported media types.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1259 -
Parses filename from a Content-Disposition header value.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1116 -
Retrieves the query params for collections of attachments.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1164 -
Filters an attachment returned from the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:852 -
Retrieves the attachment’s schema, conforming to JSON Schema.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:862 -
Handles an upload via raw POST data.
Used by 1 function | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:984 -
Creates a single attachment.
Used by 0 functions | Uses 16 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:149 -
Fires after a single attachment is created or updated via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:311 -
Updates a single attachment.
Used by 0 functions | Uses 11 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:327 -
Prepares a single attachment for create or update.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:694 -
Prepares a single attachment output for response.
Used by 4 functions | Uses 10 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:732 -
Core controller used to access attachments via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:17 -
Determines the allowed query_vars for a get_items() response and prepares for WP_Query.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:78 -
Checks if a given request has access to create an attachment.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:114