File: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
-
Determines the featured media based on a request param.
Used by 2 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:364 -
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:1422 -
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:493 -
Applies edits to a media item and creates a new attachment record.
Used by 0 functions | Uses 22 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:513 -
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:756 -
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:252 -
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:460 -
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:481 -
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:214 -
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:1370 -
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:1280 -
Retrieves the supported media types.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1344 -
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:1199 -
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:1247 -
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:933 -
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:943 -
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:1067 -
Creates a single attachment.
Used by 0 functions | Uses 18 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:347 -
Updates a single attachment.
Used by 0 functions | Uses 12 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:400 -
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:775 -
Prepares a single attachment output for response.
Used by 4 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:813 -
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