Automattic\WooCommerce\Admin

DeprecatedClassFacade::__call()publicWC 1.0

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

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

Хуков нет.

Возвращает

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

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

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

Код DeprecatedClassFacade::__call() WC 8.7.0

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

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