comments_link_feed()

最后更新于:2021-11-25 20:37:42

comments_link_feed()

Outputs the link to the comments for the current post in an xml safe way

源文件

文件: gc-includes/feed.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() ) );
}