wp_restore_post_revision

SummerySummery

Fires after a post revision has been restored.

Syntax

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

ParametersParameters

$post_id

(int) Post ID.

$revision_id

(int) Post revision ID.

SourceSource

File: wp-includes/revision.php

ChangelogChangelog

Changelog
Version Description
2.6.0 Introduced.
Scroll to Top