WC_Gateway_Paypal_Notices::add_paypal_migration_noticepublicWC 10.3.0

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

Add notice warning about the migration to PayPal Payments.

Method of the class: WC_Gateway_Paypal_Notices{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Gateway_Paypal_Notices = new WC_Gateway_Paypal_Notices();
$WC_Gateway_Paypal_Notices->add_paypal_migration_notice();

Changelog

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

WC_Gateway_Paypal_Notices::add_paypal_migration_notice() code WC 10.7.0

public function add_paypal_migration_notice() {
	wc_deprecated_function( __METHOD__, '10.5.0', 'Automattic\WooCommerce\Gateways\PayPal\Notices::add_paypal_migration_notice()' );
	$this->notices->add_paypal_migration_notice();
}