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.
Source
File: wp-admin/includes/meta-boxes.php
function post_revisions_meta_box( $post ) { wp_list_post_revisions( $post ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |