IXR_Client::getResponse() WordPress Method

The IXR_Client::getResponse() method is a simple yet powerful method for getting an XML-RPC response from a WordPress site. This method can be used to communicate with any WordPress site, whether it is a self-hosted site or a WordPress.com site. The getResponse() method takes two parameters: the XML-RPC method name and an array of parameters.

IXR_Client::getResponse() #

Contents


Source

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

    function getResponse()
    {
        // methodResponses can only have one param - return that
        return $this->message->params[0];
    }

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.