File: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
-
Filter whether the server should prevent uploads for image types it doesn’t support. Default true.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:150 -
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:393 -
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:1451 -
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:522 -
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:542 -
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:785 -
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:282 -
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:489 -
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:510 -
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:244 -
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:1399 -
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:1309 -
Retrieves the supported media types.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1373 -
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:1228 -
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:1276 -
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:962 -
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:972 -
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:1096 -
Creates a single attachment.
Used by 0 functions | Uses 17 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:179 -
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:376 -
Updates a single attachment.
Used by 0 functions | Uses 11 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:429 -
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:804 -
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:842 -
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