Wordpress 钩子:comments_number
文章目录
过滤评论计数以供显示。
原型
apply_filters( 'comments_number', string $output, int $number )
参数
$output
(string)
基于计数是否等于0,1或1而格式化的可翻译字符串。
$number
(int)
发表评论的数量。
源文件
路径:wp-includes/comment-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/comments_number/
文章作者 iBllex
上次更新 2019-02-15