post_revisions_meta_box() WordPress Function

This function displays the post revisions meta box. The meta box shows the saved revision for the post and allows the user to restore any of the saved revisions.

post_revisions_meta_box( WP_Post $post ) #

Displays list of revisions.


Parameters

$post

(WP_Post)(Required)Current post object.


Top ↑

Source

File: wp-admin/includes/meta-boxes.php

function post_revisions_meta_box( $post ) {
	wp_list_post_revisions( $post );
}


Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.