IXR_ClientMulticall::addCall()publicWP 1.5.0

Method of the class: IXR_ClientMulticall{}

No Hooks.

Return

null. Nothing (null).

Usage

$IXR_ClientMulticall = new IXR_ClientMulticall();
$IXR_ClientMulticall->addCall( ...$args );
...$args (required)
-

Changelog

Since 1.5.0 Introduced.
Since 5.5.0 Formalized the existing ...$args parameter by adding it to the function signature.

IXR_ClientMulticall::addCall() code WP 6.5.2

function addCall( ...$args )
{
    $methodName = array_shift($args);
    $struct = array(
        'methodName' => $methodName,
        'params' => $args
    );
    $this->calls[] = $struct;
}