wpseek.com
WordPress开发者和主题制作者的搜索引擎



comments_number › WordPress过滤钩子

Since1.5.0
已弃用n/a
apply_filters( 'comments_number', $comments_number_text, $comments_number )
参数: (2)
  • (string) $comments_number_text A translatable string formatted based on whether the count is equal to 0, 1, or 1+.
    Required: Yes
  • (int) $comments_number The number of post comments.
    Required: Yes
定义在:
文档:

Filters the comments count for display.





源码

return apply_filters( 'comments_number', $comments_number_text, $comments_number );