WC_Gateway_Paypal_Transact_Account_Manager::do_onboarding │ public │ WC 1.0

Устарела с версии 0.5.0. Больше не поддерживается и может быть удалена. Используйте Automattic\WooCommerce\Gateways\PayPal\TransactAccountManager::do_onboarding(). This method will be removed in 11.0.0.

Onboard the merchant with the Transact platform.

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

Хуков нет.

Возвращает

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

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

$WC_Gateway_Paypal_Transact_Account_Manager = new WC_Gateway_Paypal_Transact_Account_Manager();
$WC_Gateway_Paypal_Transact_Account_Manager->do_onboarding();

Список изменений

Устарела с 10.5.0 Use Automattic\WooCommerce\Gateways\PayPal\TransactAccountManager::do_onboarding() instead. This method will be removed in 11.0.0.

Код WC_Gateway_Paypal_Transact_Account_Manager::do_onboarding() WC 11.2.2

public function do_onboarding() {
	wc_deprecated_function(
		__METHOD__,
		'10.5.0',
		PayPalTransactAccountManager::class . '::do_onboarding()'
	);

	$this->transact_account_manager->do_onboarding();
}