do_action( 'wp_restore_post_revision', int $post_id, int $revision_id )

Fires after a post revision has been restored.


Parameters

$post_id

Post ID.

$revision_id

Post revision ID.


Source

File: wp-includes/revision.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.6.0 Introduced.