WordPress at a glance
Home Functions Posts, pages... Revisions

Revisions (category)

wp_delete_auto_drafts()

Delete auto-drafts for new posts that are more than 7 days old.

wp_delete_post_revision()

Deletes a revision.

wp_get_post_revision()

Gets a post revision by revision's ID. If there is no such revision, null will be returned.

wp_get_post_revisions()

Returns all revisions of specified post.

wp_is_post_autosave()

Determines if the specified post is an autosave.

wp_is_post_revision()

Determines if the specified post is a revision.

wp_text_diff()

Displays a human readable HTML representation of the difference between two strings.