WP_REST_Attachments_Controller::prepare_item_for_database()
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 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
Method: Retrieves the attachment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:857
Method: Handles an upload via raw POST data.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:979
Method: Parses filename from a Content-Disposition header value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1111
Method: Retrieves the query params for collections of attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1159
Method: Validates whether the user can query private statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:691
Method: Handles an upload via multipart/form-data ($_FILES).
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1190
Method: Retrieves the supported media types.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1254