WordPress Version: 4.4
/**
* Retrieve all of the WordPress supported comment statuses.
*
* Comments have a limited set of valid status values, this provides the comment
* status values and descriptions.
*
* @since 2.7.0
*
* @return array List of comment statuses.
*/
function get_comment_statuses()
{
$status = array(
'hold' => __('Unapproved'),
/* translators: comment status */
'approve' => _x('Approved', 'adjective'),
/* translators: comment status */
'spam' => _x('Spam', 'adjective'),
/* translators: comment status */
'trash' => _x('Trash', 'adjective'),
);
return $status;
}