comments_rss_link

函式
comments_rss_link ( $link_text = 'Comments RSS' )
引數
  • (string) $link_text
    Required:
    Default: 'Comments RSS'
相關
  • post_comments_feed_link()
定義位置
相關方法
comments_linkcomments_rsscomment_linkcomment_reply_linkcomments_popup_link
引入
1.0.1
棄用
2.5.0

comments_rss_link: 這個函式輸出到評論RSS提要的HTML連結。它可以在模板中使用,以顯示到評論源的連結。

列印RSS評論feed連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function comments_rss_link($link_text = 'Comments RSS') {
_deprecated_function( __FUNCTION__, '2.5.0', 'post_comments_feed_link()' );
post_comments_feed_link($link_text);
}
function comments_rss_link($link_text = 'Comments RSS') { _deprecated_function( __FUNCTION__, '2.5.0', 'post_comments_feed_link()' ); post_comments_feed_link($link_text); }
function comments_rss_link($link_text = 'Comments RSS') {
	_deprecated_function( __FUNCTION__, '2.5.0', 'post_comments_feed_link()' );
	post_comments_feed_link($link_text);
}

常見問題

FAQs
檢視更多 >