do_action( 'wp_restore_post_revision', int $post_id , int $revision_id )
Fires after a post revision has been restored.
Description Description
Parameters Parameters
- $post_id
-
(int) Post ID.
- $revision_id
-
(int) Post revision ID.
Source Source
File: wp-includes/revision.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |