Summery Summery
Fires after a revision is deleted via the REST API.
Syntax Syntax
Parameters Parameters
- $result
-
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.
- $request
-
The request sent to the API.
Source Source
File: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |