IXR_Server::__construct()publicWP 1.0

PHP5 constructor.

Method of the class: IXR_Server{}

No Hooks.

Return

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.5.4

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