wp_list_post_revisions( int|WP_Post $post_id, string $type = 'all' )

Display list of a post’s revisions.


25 related functions found for: wp_list_post_revisions

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordslist, post, post-template-php, post-typ, post-type, revis, revisions, wp-includes, wp-list
wp-parser-packageTemplate, WordPress
wp-parser-source-filewp-includes/post-template.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • list
  • post
  • post-template-php
  • post-typ
  • post-type
  • revis
  • revisions
  • Template
  • wp-includes
  • wp-includes/post-template.php
  • wp-list
  • template

Top ↑

Description Description

Can output either a UL with edit links or a TABLE with diff interface, and restore action links.


Top ↑

Parameters Parameters

$post_id

(int|WP_Post) (Optional) Post ID or WP_Post object. Default is global $post.

$type

(string) (Optional) 'all' (default), 'revision' or 'autosave'

Default value: 'all'


Top ↑

Source Source

File: wp-includes/post-template.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.