W3cubDocs

/WordPress

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

Fires after a post revision has been restored.

Parameters

$post_id

(int) Post ID.

$revision_id

(int) Post revision ID.

Source

File: wp-includes/revision.php

View on Trac

Changelog

Version Description
2.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_restore_post_revision