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
Source
File: wp-includes/feed.php
function the_content_feed( $feed_type = null ) { echo get_the_content_feed( $feed_type ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |