Definition:
function get_the_content_feed($feed_type = null) {}
Retrieve the post content for feeds.
Parameters
- string $feed_type: The type of feed. rss2 | atom | rss | rdf
Defined filters
- the_content
apply_filters('the_content', get_the_content() - the_content_feed
apply_filters('the_content_feed', $content, $feed_type)
Source code
function get_the_content_feed($feed_type = null) {
if ( !$feed_type )
$feed_type = get_default_feed();
$content = apply_filters('the_content', get_the_content());
$content = str_replace(']]>', ']]>', $content);
return apply_filters('the_content_feed', $content, $feed_type);
}
1825

February 12, 2011 


No comments yet... Be the first to leave a reply!