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



respond_link › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'respond_link', $respond_link, $post_id )
Parameters: (2)
  • (string) $respond_link The default response link.
    Required: Yes
  • (int) $post_id The post ID.
    Required: Yes
Defined at:
Codex:

Filters the respond link when a post has no comments.





Source

$comments_link = apply_filters( 'respond_link', $respond_link, $post_id );