WP_REST_Revisions_Controller::prepare_item_for_response()
Method: Prepares the revision for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:548
Method: Prepares the revision for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:548
Filter Hook: Filters a revision returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:641
Method: Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:654
Method: Retrieves the revision’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:673
Class: Core class used to access revisions via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:17
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:766
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:50
Method: Checks the post excerpt and prepare it for single post output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:830
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