wp_delete_post_revision

Advertisement

Summery Summery

Fires once a post revision has been deleted.

Syntax Syntax

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

Parameters Parameters

$revision_id

(int) Post revision ID.

$revision

(WP_Post) Post revision object.

Source Source

File: wp-includes/revision.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.