get_comment_statuses
Retrieve all of the WordPress supported comment statuses.
Description
(array) get_comment_statuses();
Comments have a limited set of valid status values, this provides the comment status values and descriptions.
Returns (array)
List of comment statuses.
Usage
if ( !function_exists( 'get_comment_statuses' ) ) { require_once ABSPATH . WPINC . '/comment.php'; } // NOTICE! Understand what this does before running. $result = get_comment_statuses();
Defined (1)
The function is defined in the following location(s).