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:847
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 taxonomy’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php:321
Method: Registers the routes for revisions based on post types supporting revisions.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:70
Method: Retrieves the attachment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:857
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php:442
Method: Checks if a given request has access to get revisions.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:169
Method: Handles an upload via raw POST data.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:979
Class: Core class used to manage a site’s settings via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php:17
Method: Gets a collection of revisions.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:221
Method: Parses filename from a Content-Disposition header value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1111