On this page
the_content_feed( string $feed_type = null )
Displays the post content for feeds.
Parameters
$feed_typestring Optional-
The type of feed. rss2 | atom | rss | rdf
Default:
null
Source
File: wp-includes/feed.php. View all references
function the_content_feed( $feed_type = null ) {
echo get_the_content_feed( $feed_type );
}
Related
Uses
| Uses | Description |
|---|---|
| get_the_content_feed() wp-includes/feed.php | Retrieves the post content for feeds. |
Changelog
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_content_feed