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 post revision by ID. |
| wp_get_post_revision() | Gets a post revision by revision's ID. If there is no such revision, |
| wp_get_post_revisions() | Gets all revisions (edits, changes) of the specified post. |
| wp_is_post_autosave() | Determines whether the specified post is an autosave. |
| wp_is_post_revision() | Determines whether the specified post is a revision. |
| wp_revisions_enabled() | Check if revisions are enabled for the specified post. |
| wp_revisions_to_keep() | Defines how many of the latest revisions (changes) should be stored in the database for a specific post. |
| wp_save_post_revision() | Creates a revision (copy) of the specified post. It also deletes excess revisions. |
| wp_text_diff() | Gets a human-readable HTML table with differences between two provided strings (texts). Used for comparing changes in post revisions. |