Definition:
function get_comment_statuses( ) {}
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.
Return values
returns:List of comment statuses.
Source code
function get_comment_statuses( ) {
$status = array(
'hold' => __('Unapproved'),
/* translators: comment status */
'approve' => _x('Approved', 'adjective'),
/* translators: comment status */
'spam' => _x('Spam', 'adjective'),
);
return $status;
}
1328

February 12, 2011 


No comments yet... Be the first to leave a reply!