comments_link_feed filter-hook . WP 3.6.0
Filters the comments permalink for the current post.
Usage
add_filter( 'comments_link_feed', 'filter_function_name_937' ); function filter_function_name_937( $comment_permalink ){ // filter... return $comment_permalink; }
- $comment_permalink(string)
- The current comment permalink with '#comments' appended.
Changelog
Since 3.6.0 | Introduced. |
Where the hook is called
comments_link_feed
wp-includes/feed.php 267
echo esc_url( apply_filters( 'comments_link_feed', get_comments_link() ) );