get_comment_count Wordpress function


Description:

The amount of comments in a post or total comments.


Syntax:


Arguments:

(int) $post_id Optional. Comment amount in post if > 0, else total comments blog wide.


Return Type:

(array) The amount of spam, approved, awaiting moderation, and total comments.


Define At:

wp-includes/comment.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_comment_count


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×