MagpieRSS::feed_cdata() WordPress Method
The MagpieRSS::feed_cdata() method is used to retrieve the content of a specified feed item from a WordPress RSS feed. This method can be used to retrieve the content of any WordPress RSS feed, including posts, pages, and comments.
MagpieRSS::feed_cdata( $p, $text ) #
Source
File: wp-includes/rss.php
function feed_cdata ($p, $text) {
if ($this->feed_type == ATOM and $this->incontent)
{
$this->append_content( $text );
}
else {
$current_el = join('_', array_reverse($this->stack));
$this->append($current_el, $text);
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub