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:532 -
Get the revision, if the ID is valid.
Used by 3 functions | Uses 3 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 3 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:667 -
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:680 -
Retrieves the revision’s schema, conforming to JSON Schema.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:699 -
Retrieves the query params for collections.
Used by 3 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:794 -
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:858 -
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:382 -
Retrieves one revision from the collection.
Used by 0 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:395 -
Checks if a given request has access to delete a revision.
Used by 0 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:427 -
Deletes a single revision.
Used by 0 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:470 -
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:502 -
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:569 -
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 3 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 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:180 -
Gets a collection of revisions.
Used by 0 functions | Uses 14 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:232