MagpieRSS::feed_cdata()publicWP 1.0

Method of the class: MagpieRSS{}

No Hooks.

Return

null. Nothing (null).

Usage

$MagpieRSS = new MagpieRSS();
$MagpieRSS->feed_cdata ( $p, $text );
$p (required)
-
$text (required)
-

MagpieRSS::feed_cdata() code WP 6.6.2

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