WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/get the content feed

Contents

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