get_comments_number

最后更新于:2021-11-26 11:29:02

apply_filters( ‘get_comments_number’, string|int $count, int $post_id )

Filters the returned comment count for a post.

参数

$count

(string|int)
A string representing the number of comments a post has, otherwise 0.

$post_id

(int)
Post ID.

源文件

文件: gc-includes/comment-template.php

View on Trac