Counts the number of comments for each user, who has been logged in at the time of commenting.
Various user attributes can be used in queries. Though, the internal structure is based on the authors' id to avoid confusion in case of changed user-names, e-mail addresses, etc. Featuring CountComments will therefore only count comments, which have been written by authors who have been logged in at the time of writing a comment.
Already queried results are cached within a single page-call to avoid executing too many queries. This results in increased performance.
Moreover, in case of querying the comment count of a certain post's comment, only two SQL statements will be used to retrieve the comment count of all users who contributed to this post.
Requires: 3.3 or higher
Compatible up to: 4.6
Last Updated: 3 months ago
Active Installs: 80+
Got something to say? Need help?