Automattic\WooCommerce\Admin

DeprecatedClassFacade::__callStatic()public staticWC 1.0

Executes when calling any static function on this class.

Method of the class: DeprecatedClassFacade{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = DeprecatedClassFacade::__callStatic( $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::__callStatic() code WC 8.7.0

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

	return call_user_func_array(
		array(
			static::$facade_over_classname,
			$name,
		),
		$arguments
	);
}