Action hook 'wp_delete_post_revision'

in WP Core File wp-includes/revision.php at line 643

Description

Fires once a post revision has been deleted.

Occurrences

Filename Line Number
wp-includes/revision.php 643

Parameters

Type Name Description
int $revision_id Post revision ID.
WP_Post $revision Post revision object.

PHP Doc

/**
		 * Fires once a post revision has been deleted.
		 *
		 * @since 2.6.0
		 *
		 * @param int     $revision_id Post revision ID.
		 * @param WP_Post $revision    Post revision object.
		 */