以xml安全方式输出指向当前帖子的注释的链接
原型
comments_link_feed()
返回值
(none)
源文件
路径:wp-includes/feed.php
<?php
...
function comments_link_feed() {
/**
* Filters the comments permalink for the current post.
*
* @since 3.6.0
*
* @param string $comment_permalink The current comment permalink with
* '#comments' appended.
*/
echo esc_url( apply_filters( 'comments_link_feed', get_comments_link() ) );
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/comments_link_feed/