File: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
-
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:546 -
Get the revision, if the ID is valid.
Used by 3 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:205 -
Get the parent post, if the ID is valid.
Used by 4 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:150 -
Filters a revision returned from the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:687 -
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:700 -
Retrieves the revision’s schema, conforming to JSON Schema.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:719 -
Retrieves the query params for collections.
Used by 3 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:814 -
Checks the post excerpt and prepare it for single post output.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:878 -
Checks if a given request has access to get a specific revision.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:396 -
Retrieves one revision from the collection.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:409 -
Checks if a given request has access to delete a revision.
Used by 0 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:441 -
Deletes a single revision.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:484 -
Fires after a revision is deleted via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:516 -
Prepares the revision for the REST response.
Used by 3 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:583 -
Core class used to access revisions via the REST API.
Used by 3 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:17 -
Constructor.
Used by 4 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:58 -
Registers the routes for revisions based on post types supporting revisions.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:81 -
Checks if a given request has access to get revisions.
Used by 2 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:180 -
Gets a collection of revisions.
Used by 0 functions | Uses 13 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:232