MagpieRSS::feed_cdata
Method of the class: MagpieRSS{}
No Hooks.
Returns
null. Nothing (null).
Usage
$MagpieRSS = new MagpieRSS(); $MagpieRSS->feed_cdata ( $p, $text );
- $p(required)
- .
- $text(required)
- .
MagpieRSS::feed_cdata() MagpieRSS::feed cdata code WP 6.9.1
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);
}
}