A WordPress-centric search engine for devs and theme authors



post_comments_link ›

Since2.7.0
Deprecatedn/a
apply_filters( 'post_comments_link', $formatted_link, $post )
Parameters: (2)
  • (string) $formatted The HTML-formatted post comments link.
    Required: Yes
  • (int|WP_Post) $post The post ID or WP_Post object.
    Required: Yes
Defined at:
Codex:

Filters the formatted post comments link HTML.





Source

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