WordPress开发者和主题制作者的搜索引擎



comments_link_feed ›

Since3.0.0
已弃用n/a
comments_link_feed ( 没有参数 )
返回:
  • (none)
定义在:
文档:

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



源码

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() ) );
}