WP_REST_Revisions_Controller::prepare_items_query()
Method: Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:522
Method: Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:522
Method: Get the revision, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:205
Method: Get the parent post, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:150
Filter Hook: Filters a revision returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:655
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:668
Method: Retrieves the revision’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:687
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:782
Method: Checks the post excerpt and prepare it for single post output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:846
Method: Checks if a given request has access to get a specific revision.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:382
Method: Retrieves one revision from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:394
Method: Checks if a given request has access to delete a revision.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:417
Method: Deletes a single revision.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:460
Action Hook: Fires after a revision is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:492
Method: Prepares the revision for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:557
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: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:58
Method: Registers the routes for revisions based on post types supporting revisions.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:81
Method: Checks if a given request has access to get revisions.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:180
Method: Gets a collection of revisions.
Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:232