the_content_feed() WordPress Function

The the_content_feed() function is used to output the content of a feed item in a Wordpress feed. This function can be used in conjunction with the_excerpt_feed() to display a summary of the content in a feed.

the_content_feed( string $feed_type = null ) #

Display the post content for feeds.


Parameters

$feed_type

(string)(Optional)The type of feed. rss2 | atom | rss | rdf

Default value: null


Top ↑

Source

File: wp-includes/feed.php

function the_content_feed( $feed_type = null ) {
	echo get_the_content_feed( $feed_type );
}


Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.