File: wp-includes/revision.php
-
function_wp_preview_meta_filter()
Filters preview post meta retrieval to get values from the autosave.
-
function_wp_copy_post_meta()
Copy post meta for the given key from one post to another.
-
functionwp_post_revision_meta_keys()
Determine which post meta fields should be revisioned.
-
Filter the list of post meta keys to be revisioned.
-
Check whether revisioned post meta fields have changed.
-
functionwp_restore_post_revision_meta()
Restore the revisioned meta values for a post.
-
functionwp_save_revisioned_meta_fields()
Save the revisioned meta fields.
-
Saves revisions for a post after all changes have been made.
-
Filters the revisions to be considered for deletion.
-
Returns the latest revision ID and count of revisions for a post.
-
functionwp_get_post_revisions_url()
Returns the url for viewing and potentially restoring revisions of a given post.
-
Filters the number of revisions to save for the given post by its post type.
-
Filters post thumbnail lookup to set the post thumbnail.
-
function_wp_post_revision_data()
Returns a post array ready to be inserted into the posts table as a post revision.
-
Filters whether a post has changed.
-
function_wp_get_post_revision_version()
Gets the post revision version.
-
Fires after a post revision has been restored.
-
function_wp_upgrade_revisions_of_post()
Upgrades the revisions author, adds the current post as a revision and sets the revisions version to 1.
-
functionwp_delete_post_revision()
Deletes a revision.
-
Fires once a post revision has been deleted.
-
functionwp_get_post_revisions()
Returns all revisions of specified post.
-
functionwp_revisions_enabled()
Determines whether revisions are enabled for a given post.
-
functionwp_revisions_to_keep()
Determines how many revisions to retain for a given post.
-
functionwp_is_post_autosave()
Determines if the specified post is an autosave.
-
Filters the number of revisions to save for the given post.
-
function_wp_put_post_revision()
Inserts post data into the posts table as a post revision.
-
function_set_preview()
Sets up the post object for preview based on the post autosave.
-
Fires once a revision has been saved.
-
function_show_post_preview()
Filters the latest content for preview from the post autosave.
-
functionwp_get_post_revision()
Gets a post revision.