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



post_comments_link ›

Since2.7.0
已弃用n/a
apply_filters( 'post_comments_link', $formatted_link, $post )
参数: (2)
  • (string) $formatted The HTML-formatted post comments link.
    Required: Yes
  • (int|WP_Post) $post The post ID or WP_Post object.
    Required: Yes
定义在:
文档:

Filters the formatted post comments link HTML.





源码

return apply_filters( 'post_comments_link', $formatted_link, $post );