WordPress at a glance
function is not described

AtomParser::xml_escape() public WP 1.0

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

No Hooks.

Return

null. Null. Nothing.

Usage

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

Code of AtomParser::xml_escape() WP 5.7

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