Description
Gets a collection of revisions.
Occurrences
Filename | Line Number |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php | 291 |
Parameters
Type | Name | Description |
---|---|---|
WP_REST_Request | $request | Full details about the request. |
PHP Doc
/**
* Gets a collection of revisions.
*
* @since 4.7.0
*
* @param WP_REST_Request $request Full details about the request.
* @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
*/