permalink_single_rss

函式
permalink_single_rss ( $deprecated = '' )
引數
  • (string) $deprecated
    Required:
    Default: (empty)
相關
  • the_permalink_rss()
定義位置
相關方法
permalink_linkthe_permalink_rsspermalink_anchorwp_get_single_postwp_title_rss
引入
0.71
棄用
2.3.0

permalink_single_rss: 該函式用於在單個RSS專案中輸出當前文章的固定連結。它需要兩個引數。$id和$feed。$id引數是可選的,允許你指定當前文章以外的一個文章ID。$feed引數也是可選的,允許你指定feed的格式。

列印RSS feed的固定連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function permalink_single_rss($deprecated = '') {
_deprecated_function( __FUNCTION__, '2.3.0', 'the_permalink_rss()' );
the_permalink_rss();
}
function permalink_single_rss($deprecated = '') { _deprecated_function( __FUNCTION__, '2.3.0', 'the_permalink_rss()' ); the_permalink_rss(); }
function permalink_single_rss($deprecated = '') {
	_deprecated_function( __FUNCTION__, '2.3.0', 'the_permalink_rss()' );
	the_permalink_rss();
}

常見問題

FAQs
檢視更多 >