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 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:363 -
Gets the request args for the edit item route.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1421 -
Checks if a given request has access to editing media.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:492 -
Applies edits to a media item and creates a new attachment record.
Used by 0 functions | Uses 21 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:512 -
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:755 -
Registers the routes for attachments.
Used by 0 functions | Uses 3 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:459 -
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:480 -
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 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1369 -
Handles an upload via multipart/form-data ($_FILES).
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1279 -
Retrieves the supported media types.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1343 -
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:1198 -
Retrieves the query params for collections of attachments.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1246 -
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:932 -
Retrieves the attachment’s schema, conforming to JSON Schema.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:942 -
Handles an upload via raw POST data.
Used by 1 function | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1066 -
Creates a single attachment.
Used by 0 functions | Uses 17 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:346 -
Updates a single attachment.
Used by 0 functions | Uses 11 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:399 -
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:774 -
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:812 -
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 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:114