WP_REST_Attachments_Controller::create_item()
Method: Creates a single attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:149
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