WordPress at a glance
function is not described

get_comment_statuses() WP 2.7.0

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.

No Hooks.

Return

Array. List of comment statuses.

Usage

get_comment_statuses();

Code of get comment statuses: wp-includes/comment.php VER 5.0.3

<?php
function get_comment_statuses() {
	$status = array(
		'hold'		=> __( 'Unapproved' ),
		'approve'	=> _x( 'Approved', 'comment status' ),
		'spam'		=> _x( 'Spam', 'comment status' ),
		'trash'		=> _x( 'Trash', 'comment status' ),
	);

	return $status;
}