Automattic\WooCommerce\Admin
DeprecatedClassFacade::__call() public WC 1.0
Executes when calling any function on an instance of this class.
{} Это метод класса: DeprecatedClassFacade{}
Хуков нет.
Возвращает
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() DeprecatedClassFacade:: call WC 5.0.0
public function __call( $name, $arguments ) {
self::log_deprecation( $name );
return call_user_func_array(
array(
$this->instance,
$name,
),
$arguments
);
}