Tag Archives: wp_count_comments


Retrieve total comments for blog or single post.The properties of the returned object contain the ‘moderated’, ‘approved’, and spam comments for either the entire blog or single post. Those properties contain the amount of comments that match the status. The ‘total_comments’ property contains the integer of total comments.


Continue reading