post_revisions_meta_box
Display list of revisions.
Description
post_revisions_meta_box( (object) $post );
Parameters (1)
- 0. $post (object)
- The post.
Usage
if ( !function_exists( 'post_revisions_meta_box' ) ) { require_once ABSPATH . '/wp-admin/includes/meta-boxes.php'; } // The post. $post = null; // NOTICE! Understand what this does before running. $result = post_revisions_meta_box($post);
Defined (1)
The function is defined in the following location(s).
- /wp-admin/includes/meta-boxes.php
- function post_revisions_meta_box( $post ) {
- wp_list_post_revisions( $post );
- }