Summery Summery
Filters the comments count for a given post or the whole site.
Syntax Syntax
Parameters Parameters
- $count
-
An empty array or an object containing comment counts.
- $post_id
-
The post ID. Can be 0 to represent the whole site.
Source Source
File: wp-includes/comment.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |