IXR_Server::setCallbacks() WordPress Method

The IXR_Server::setCallbacks() method allows you to register your own callback functions for each of the XML-RPC methods supported by the server. This is useful if you want to override the default behavior of the server, or if you want to add your own custom methods.

IXR_Server::setCallbacks() #


Source

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

    function setCallbacks()
    {
        $this->callbacks['system.getCapabilities'] = 'this:getCapabilities';
        $this->callbacks['system.listMethods'] = 'this:listMethods';
        $this->callbacks['system.multicall'] = 'this:multiCall';
    }

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.