wp_is_post_autosave


wp_is_post_autosave ( $post )

Parameters:
  • (int|WP_Post) post Post ID or post object.
Returns:
  • (int|false) ID of autosave's parent on success, false if not a revision.
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