wp_restore_post_revision_meta
wp_restore_post_revision_meta ( $post_id, $revision_id )
Parameters:- (int) post_id The ID of the post to restore the meta to.
- (int) revision_id The ID of the revision to restore the meta from.
Defined at: - Introduced in WordPress: 6.4.0
- Deprecated in WordPress: —
Description
Restore the revisioned meta values for a post.