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);
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub