get_comment_statuses()
最后更新于:2021-11-26 09:01:20
get_comment_statuses()Retrieve all of the GeChiUI supported comment statuses.
响应
(string[]) List of comment status labels keyed by status.
源文件
文件: gc-includes/comment.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;
}