comments_rss

函式
comments_rss ( No parameters )
返回值
  • (string)
相關
  • get_post_comments_feed_link()
定義位置
相關方法
comments_rss_linkcomment_classcomment_text_rsscomment_existscomment_form
引入
1.5.0
棄用
2.2.0

comments_rss: 這個函式生成一個指向文章評論的RSS提要的連結。讀者可以用這個連結來訂閱評論源,並在他們的RSS閱讀器中接收更新。

返回文章RSS的連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function comments_rss() {
_deprecated_function( __FUNCTION__, '2.2.0', 'get_post_comments_feed_link()' );
return esc_url( get_post_comments_feed_link() );
}
function comments_rss() { _deprecated_function( __FUNCTION__, '2.2.0', 'get_post_comments_feed_link()' ); return esc_url( get_post_comments_feed_link() ); }
function comments_rss() {
	_deprecated_function( __FUNCTION__, '2.2.0', 'get_post_comments_feed_link()' );
	return esc_url( get_post_comments_feed_link() );
}

常見問題

FAQs
檢視更多 >