IXR_Server::__construct() WordPress Method

This is the constructor for the IXR_Server class. It takes two parameters: $handler - an IXR_RequestHandler object that will handle requests made to the XML-RPC server $debug - whether to enable debugging or not

IXR_Server::__construct( $callbacks = false,  $data = false,  $wait = false ) #

PHP5 constructor.


Source

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

    function __construct( $callbacks = false, $data = false, $wait = false )
    {
        $this->setCapabilities();
        if ($callbacks) {
            $this->callbacks = $callbacks;
        }
        $this->setCallbacks();
        if (!$wait) {
            $this->serve($data);
        }
    }

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.