WPDev.one
Core Function
View Source on Trac ↗

wp_restore_post_revision_meta()

wp_restore_post_revision_meta( mixed $post_id, mixed $revision_id )

Restore the revisioned meta values for a post.

Parameters 2 required

Name / Type Description
$post_id
int

The ID of the post to restore the meta to.

Required
$revision_id
int

The ID of the revision to restore the meta from.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
6.4.0
Source File
wp-includes/revision.php
Advertisement