Returns an array of the following core post statuses:
Note: To get an array of all post statuses, including those created with register_post_type(), see get_post_stati.
<?php get_post_statuses(); ?>
This function accepts no parameters.
array(
'draft' => __('Draft'),
'pending' => __('Pending Review'),
'private' => __('Private'),
'publish' => __('Published')
);
get_post_statuses() is located in wp-includes/post.php.