wp_delete_post_revision

SummerySummery

Fires once a post revision has been deleted.

Syntax

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

ParametersParameters

$revision_id

(int) Post revision ID.

$revision

(WP_Post) Post revision object.

SourceSource

File: wp-includes/revision.php

ChangelogChangelog

Changelog
Version Description
2.6.0 Introduced.
Scroll to Top