do_action( ‘wp_restore_post_revision’, int $post_id, int $revision_id )

In this article

Fires after a post revision has been restored.

Parameters

$post_idint
Post ID.
$revision_idint
Post revision ID.

Source

do_action( 'wp_restore_post_revision', $post_id, $revision['ID'] );

Changelog

VersionDescription
2.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.