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;
    }

Top ↑

Changelog

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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.