IXR_Server::__constructpublicWP 1.0

PHP5 constructor.

Method of the class: IXR_Server{}

No Hooks.

Returns

null. Nothing (null).

Usage

$IXR_Server = new IXR_Server();
$IXR_Server->__construct( $callbacks, $data, $wait );
$callbacks
.
Default: false
$data
.
Default: false
$wait
.
Default: false

IXR_Server::__construct() code WP 6.9.1

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