comments_link_feed хук-фильтр . WP 3.6.0
Filters the comments permalink for the current post.
Использование
add_filter( 'comments_link_feed', 'filter_function_name_5655' ); function filter_function_name_5655( $comment_permalink ){ // filter... return $comment_permalink; }
- $comment_permalink(строка)
- The current comment permalink with '#comments' appended.
Список изменений
С версии 3.6.0 | Введена. |
Где вызывается хук
comments_link_feed
wp-includes/feed.php 267
echo esc_url( apply_filters( 'comments_link_feed', get_comments_link() ) );