IXR_Server::multiCall()
Method of the class: IXR_Server{}
No Hooks.
Return
null
. Nothing (null).
Usage
$IXR_Server = new IXR_Server(); $IXR_Server->multiCall( $methodcalls );
- $methodcalls (required)
- -
IXR_Server::multiCall() IXR Server::multiCall code WP 6.5.2
function multiCall($methodcalls) { // See http://www.xmlrpc.com/discuss/msgReader$1208 $return = array(); foreach ($methodcalls as $call) { $method = $call['methodName']; $params = $call['params']; if ($method == 'system.multicall') { $result = new IXR_Error(-32600, 'Recursive calls to system.multicall are forbidden'); } else { $result = $this->call($method, $params); } if (is_a($result, 'IXR_Error')) { $return[] = array( 'faultCode' => $result->code, 'faultString' => $result->message ); } else { $return[] = array($result); } } return $return; }