AtomParser::xml_escape()publicWP 1.0

Method of the class: AtomParser{}

No Hooks.

Return

null. Nothing.

Usage

$AtomParser = new AtomParser();
$AtomParser->xml_escape( $content );
$content (required)
-

AtomParser::xml_escape() code WP 6.1.1

function xml_escape($content)
{
         return str_replace(array('&','"',"'",'<','>'),
            array('&amp;','&quot;','&apos;','&lt;','&gt;'),
            $content );
}