IXR_ClientMulticall::addCall() WordPress Method
This method adds a new call to the multicall stack. Calls are executed in the order they are added.
IXR_ClientMulticall::addCall( $args ) #
Source
File: wp-includes/IXR/class-IXR-clientmulticall.php
function addCall( ...$args ) { $methodName = array_shift($args); $struct = array( 'methodName' => $methodName, 'params' => $args ); $this->calls[] = $struct; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.5.0 | Formalized the existing ...$args parameter by adding it to the function signature. |
1.5.0 | Introduced. |