Used By
Used By | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::delete_item() | Deletes a single revision. |
Fires after a revision is deleted via the REST API.
(WP_Post|false|null) The revision object (if it was deleted or moved to the Trash successfully) or false or null (failure). If the revision was moved to the Trash, $result represents its new state; if it was deleted, $result represents its state before deletion.
(WP_REST_Request) The request sent to the API.
File: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_delete_revision