WC_Gateway_Paypal_Notices::clear_account_restriction_flagpublic staticWC 10.4.0

Deprecated since 0.5.0. It is no longer supported and may be removed in future releases. Use Automattic\WooCommerce\Gateways\PayPal\Notices::clear_account_restriction_flag() instead.

Clear the flag indicating PayPal account restriction.

Method of the class: WC_Gateway_Paypal_Notices{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 10.4.0 Introduced.
Deprecated since 10.5.0 Use Automattic\WooCommerce\Gateways\PayPal\Notices::clear_account_restriction_flag() instead.

WC_Gateway_Paypal_Notices::clear_account_restriction_flag() code WC 10.6.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();
}