wp_is_post_revision


wp_is_post_revision ( $post )

Parameters:
  • (int|WP_Post) post Post ID or post object.
Returns:
  • (int|false) ID of revision's parent on success, false if not a revision.
Defined at:

Description

Determines if the specified post is a revision.

Related Functions

wp_list_post_revisions, wp_save_post_revision, wp_get_post_revision, wp_get_post_revisions, _wp_put_post_revision

Top Google Results

User discussions

wpseek mobile