wp_restore_post_revision

Advertisement

Summery Summery

Fires after a post revision has been restored.

Syntax Syntax

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

Parameters Parameters

$post_id

(int) Post ID.

$revision_id

(int) Post revision ID.

Source Source

File: wp-includes/revision.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.