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);
		}
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.