rest_prepare_attachment
Filter Hook: Filters an attachment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:388
Filter Hook: Filters an attachment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:388
Method: Determine if uploaded file exceeds space quota on multisite.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:786
Method: Retrieves the supported media types.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:760
Method: Handles an upload via multipart/form-data ($_FILES).
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:708
Method: Validates whether the user can query private statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:691
Method: Retrieves the query params for collections of attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:659
Method: Parses filename from a Content-Disposition header value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:611
Method: Handles an upload via raw POST data.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:507
Method: Retrieves the attachment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:398
Class: Core controller used to access attachments via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:17