WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get the content feed

Description

Retrieve the post content for feeds.

Usage

<?php get_the_content_feed$feed_type ); ?>

Parameters

$feed_type
(string) (optional) The type of feed. Can be: rss, rss2, atom or rdf.
Default: null

Return Values

(string) 
The filtered content.

Change Log

Since: 2.9

Source File

get_the_content_feed() is located in wp-includes/feed.php