wpseek.com
A WordPress-centric search engine for devs and theme authors



post_comments_link › WordPress Filter Hooks

Since2.7.0
Deprecatedn/a
apply_filters( 'post_comments_link', $post_reply_link, $post )
Parameters: (2)
  • (string) $post_reply_link 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', $post_reply_link, $post );