wp_list_post_revisions


wp_list_post_revisions ( $post = 0, $type = 'all' )

Parameters:
  • (int|WP_Post) post Optional. Post ID or WP_Post object. Default is global $post.
  • (string) type 'all' (default), 'revision' or 'autosave'
Defined at:

Description

Displays a list of a post's revisions.Can output either a UL with edit links or a TABLE with diff interface, and restore action links.

Related Functions

wp_is_post_revision, wp_get_post_revisions, wp_get_post_revision, _wp_put_post_revision, wp_delete_post_revision

Top Google Results

User discussions

wpseek mobile