AtomParser::xml_escape

Advertisement

Syntax Syntax

AtomParser::xml_escape( $string )

Source Source

File: wp-includes/atomlib.php

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

Advertisement

Advertisement

Leave a Reply