AtomParser::cdata()publicWP 1.0

Method of the class: AtomParser{}

No Hooks.

Return

null. Nothing (null).

Usage

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

AtomParser::cdata() code WP 6.5.2

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