WordPress at Your Fingertips
function is not described

SimplePie_Parser::cdata() public WP 1.0

{} It's a method of the class: SimplePie_Parser{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Parser = new SimplePie_Parser();
$SimplePie_Parser->cdata( $parser, $cdata );
$parser (required)
-
$cdata (required)
-

Code of SimplePie_Parser::cdata() WP 5.8.2

public function cdata($parser, $cdata)
{
	if ($this->current_xhtml_construct >= 0)
	{
		$this->data['data'] .= htmlspecialchars($cdata, ENT_QUOTES, $this->encoding);
	}
	else
	{
		$this->data['data'] .= $cdata;
	}
}