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

Post ID.

$revision_id

Post revision ID.

Source Source

File: wp-includes/revision.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Advertisement

Leave a Reply