AtomParser::cdata() WordPress Method
The AtomParser::cdata() method is a simple parser for the Atom syndication format. It takes an input string and an array of options, and returns an array of data items.
AtomParser::cdata( $parser, $data ) #
Source
File: wp-includes/atomlib.php
function cdata($parser, $data) {
$this->_p("data: #" . str_replace(array("\n"), array("\\n"), trim($data)) . "#");
if(!empty($this->in_content)) {
array_push($this->in_content, $data);
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub