WP_REST_Attachments_Controller
Class: Core controller used to access attachments via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:17
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: Determine if uploaded file exceeds space quota on multisite.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1280
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
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:309
Method: Updates a single attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:325
Method: Prepares a single attachment for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:690
Method: Prepares a single attachment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:728
Filter Hook: Filters an attachment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:847