Automattic\WooCommerce\Admin

DeprecatedClassFacade::__call()publicWC 1.0

Executes when calling any function on an instance of this class.

Method of the class: DeprecatedClassFacade{}

No Hooks.

Return

null. Nothing (null).

Usage

$DeprecatedClassFacade = new DeprecatedClassFacade();
$DeprecatedClassFacade->__call( $name, $arguments );
$name(string) (required)
The name of the function being called.
$arguments(array) (required)
An array of the arguments to the function call.

DeprecatedClassFacade::__call() code WC 8.6.1

public function __call( $name, $arguments ) {
	self::log_deprecation( $name );

	return call_user_func_array(
		array(
			$this->instance,
			$name,
		),
		$arguments
	);
}