Automattic\WooCommerce\Admin

DeprecatedClassFacade::__callStatic()public staticWC 1.0

Executes when calling any static function on this class.

Метод класса: DeprecatedClassFacade{}

No Hooks.

Return

null. Nothing.

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() WC 7.1.0

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

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