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

Post revision ID.

$revision

Post revision object.

Source Source

File: wp-includes/revision.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Advertisement

Leave a Reply