Filters the comments count for a given post or the whole site.
$countarray|stdClass
$post_idint
$filtered = apply_filters( 'wp_count_comments', array(), $post_id );
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_count_comments