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

This site uses Akismet to reduce spam. Learn how your comment data is processed.