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: Prepares a taxonomy object for serialization.
Source: wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php:209
Method: Recursively add additionalProperties = false to all objects in a schema if no additionalProperties setting is specified.
Source: wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php:337
Method: Retrieves the revision’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:673
Method: Retrieves the post’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2211
Method: Registers the routes for the objects of the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:49
Method: Retrieves the item’s schema for display / public consumption purposes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:321
Method: Checks if a given request has access to read a post status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:138
Method: Retrieves Link Description Objects that should be added to the Schema for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2636
Method: Checks if a given request has access to get items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:66