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 ); }
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_content_feed