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_revisions_enabled()

Determine if revisions are enabled for a given post.

wp_revisions_to_keep()

Determine how many revisions to retain for a given post.

wp_save_post_revision()

Creates a revision for the current version of a post.

wp_text_diff()

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