wp_save_post_revision_on_insert


wp_save_post_revision_on_insert ( $post_id, $post, $update )

Parameters:
  • (int) post_id The post id that was inserted.
  • (WP_Post) post The post object that was inserted.
  • (bool) update Whether this insert is updating an existing post.
Defined at:

Description

Saves revisions for a post after all changes have been made.

Related Functions

wp_save_post_revision, wp_restore_post_revision_meta, wp_get_post_revisions, wp_is_post_revision, wp_list_post_revisions

Top Google Results

User discussions

wpseek mobile