Automattic\WooCommerce\Admin

DeprecatedClassFacade::__callStatic()public staticWC 1.0

Executes when calling any static function on this class.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = DeprecatedClassFacade::__callStatic( $name, $arguments );
$name(строка) (обязательный)
The name of the function being called.
$arguments(массив) (обязательный)
An array of the arguments to the function call.

Код DeprecatedClassFacade::__callStatic() WC 9.7.1

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

	if ( '' === static::$facade_over_classname ) {
		return;
	}

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