do_action( 'wp_delete_post_revision', int $revision_id, WP_Post $revision )

Fires once a post revision has been deleted.

Parameters

$revision_id

(int) Post revision ID.

$revision

(WP_Post) Post revision object.

Source

File: wp-includes/revision.php

View on Trac

Changelog

Version Description
2.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_delete_post_revision