do_action( 'wp_delete_post_revision', int $revision_id , object|array $revision )
Fires once a post revision has been deleted.
Description Description
Parameters Parameters
- $revision_id
-
(int) Post revision ID.
- $revision
-
(object|array) Post revision object or array.
Source Source
File: wp-includes/revision.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |