returns the number of comments based on the specified status and type
public static count_total ( integer | string $status = 'approved', integer | string $type = 'comment' ) : integer | ||
$status | integer | string | A comment status value, or false to not filter on status (default: 'approved') |
$type | integer | string | A comment type value, or false to not filter on type (default: 'comment') |
Результат | integer | a count of the comments based on the specified status and type |