rest_after_insert_attachment
Action Hook: Fires after a single attachment is completely created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:201
Action Hook: Fires after a single attachment is completely created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:201
Method: Determine if uploaded file exceeds space quota on multisite.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:807
Method: Handles an upload via multipart/form-data ($_FILES).
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:729
Method: Retrieves the supported media types.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:781
Filter Hook: Filters an attachment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:409
Method: Retrieves the attachment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:419
Method: Handles an upload via raw POST data.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:528
Method: Parses filename from a Content-Disposition header value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:632
Method: Retrieves the query params for collections of attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:680
Method: Validates whether the user can query private statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:712
Method: Prepares a single attachment for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:264
Method: Prepares a single attachment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:301
Method: Creates a single attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:97
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:173
Method: Updates a single attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:219
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: 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:29
Method: Checks if a given request has access to create an attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:65