the_content_feed

函式
the_content_feed ( $feed_type = null )
引數
  • (string) $feed_type The type of feed. rss2 | atom | rss | rdf
    Required:
    Default: null
定義位置
相關方法
get_the_content_feedthe_contentthe_content_rssis_comment_feedget_the_content
引入
2.9.0
棄用
-

the_content_feed – 這個函式用於在RSS feed中顯示一個文章或頁面的內容。它與the_content類似,但專門設計用於feed。

顯示feeds的文章內容。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function the_content_feed( $feed_type = null ) {
echo get_the_content_feed( $feed_type );
}
function the_content_feed( $feed_type = null ) { echo get_the_content_feed( $feed_type ); }
function the_content_feed( $feed_type = null ) {
	echo get_the_content_feed( $feed_type );
}

常見問題

FAQs
檢視更多 >