respond_link filter-hook . WP 4.4.0
Filters the respond link when a post has no comments.
Usage
add_filter( 'respond_link', 'filter_function_name_4745', 10, 2 ); function filter_function_name_4745( $respond_link, $id ){ // filter... return $respond_link; }
- $respond_link(string)
- The default response link.
- $id(int)
- The post ID.
Where the hook is called
respond_link
wp-includes/comment-template.php 1576
echo apply_filters( 'respond_link', $respond_link, $id );