wp_is_post_autosave Wordpress function


Description:

Determines if the specified post is an autosave.


Syntax:


Arguments:

(int|object) $post Post ID or post object.


Return Type:

(bool|int) False if not a revision, ID of autosave's parent otherwise


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_is_post_autosave


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×