WC_Gateway_Paypal_Notices::clear_account_restriction_flag │ public static │ WC 10.4.0

Устарела с версии 0.5.0. Больше не поддерживается и может быть удалена. Используйте Automattic\WooCommerce\Gateways\PayPal\Notices::clear_account_restriction_flag().

Clear the flag indicating PayPal account restriction.

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

Хуков нет.

Возвращает

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

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

$result = WC_Gateway_Paypal_Notices::clear_account_restriction_flag(): void;

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

С версии 10.4.0 Введена.
Устарела с 10.5.0 Use Automattic\WooCommerce\Gateways\PayPal\Notices::clear_account_restriction_flag() instead.

Код WC_Gateway_Paypal_Notices::clear_account_restriction_flag() WC 11.2.2

public static function clear_account_restriction_flag(): void {
	wc_deprecated_function( __METHOD__, '10.5.0', 'Automattic\WooCommerce\Gateways\PayPal\Notices::clear_account_restriction_flag()' );
	PayPalNotices::clear_account_restriction_flag();
}