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_1439', 10, 2 ); function filter_function_name_1439( $respond_link, $post_id ){ // filter... return $respond_link; }
- $respond_link(string)
- The default response link.
- $post_id(int)
- The post ID.
Changelog
Since 4.4.0 | Introduced. |
Where the hook is called
respond_link
wp-includes/comment-template.php 1620
echo apply_filters( 'respond_link', $respond_link, $post_id );