apply_filters( 'wp_count_comments', array $count, int $post_id )

Filters the comments count for a given post.


Parameters

$count

(array) An empty array.

$post_id

(int) The post ID.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.7.0 Introduced.