wp_is_post_autosave


wp_is_post_autosave ( $post )

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

Description

Determines if the specified post is an autosave.

Related Functions

wp_get_post_autosave, wp_create_post_autosave, wp_set_post_cats, wp_autosave, wp_list_authors

Top Google Results

User discussions

wpseek mobile