IXR_Message::cdata() WordPress Method

The IXR_Message::cdata() method is used to create a CDATA section in an XML message. This is useful for including blocks of text that might contain characters that are otherwise difficult to include in an XML message, such as characters that are reserved for XML.

IXR_Message::cdata( $parser,  $cdata ) #

Contents


Source

File: wp-includes/IXR/class-IXR-message.php

    function cdata($parser, $cdata)
    {
        $this->_currentTagContents .= $cdata;
    }

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.