WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Proxies

LegacyProxy::call_static() public WC 1.0

Call a static method in a class. This should be used to execute any non-idempotent method in classes from the includes directory.

{} It's a method of the class: LegacyProxy{}

No Hooks.

Return

Mixed. The result from the method.

Usage

$result = LegacyProxy::call_static( $class_name, $method_name, ...$parameters );
$class_name(string) (required)
The name of the class containing the method.
$method_name(string) (required)
The name of the method.
...$parameters(mixed) (required)
The parameters to pass to the method.

Code of LegacyProxy::call_static() WC 5.9.0

public function call_static( $class_name, $method_name, ...$parameters ) {
	return call_user_func_array( "$class_name::$method_name", $parameters );
}