Determines if the specified post is an autosave.
<?php wp_is_post_autosave( $post_id ); ?>
Check if a saved post is an autosave post, like saving meta box data.
<?php // If post is an autosave, return if ( wp_is_post_autosave( $post_id ) ) { return; } ?>
Since: 2.6.0
wp_is_post_autosave() is defined in wp-includes/revision.php