WC_Gateway_Paypal_Notices
in package
Class WC_Gateway_Paypal_Notices.
Table of Contents
- $gateway : WC_Gateway_Paypal
- The PayPal gateway instance.
- __construct() : mixed
- Constructor.
- add_paypal_migration_notice() : void
- Add notice warning about the migration to PayPal Payments.
- add_paypal_migration_notice_on_payments_settings_page() : void
- Add notice warning about the migration to PayPal Payments on the Payments settings page.
- paypal_migration_notice_dismissed() : bool
- Check if the installation notice has been dismissed.
Properties
$gateway
The PayPal gateway instance.
private
WC_Gateway_Paypal
$gateway
Methods
__construct()
Constructor.
public
__construct() : mixed
Return values
mixed —add_paypal_migration_notice()
Add notice warning about the migration to PayPal Payments.
public
add_paypal_migration_notice() : void
Return values
void —add_paypal_migration_notice_on_payments_settings_page()
Add notice warning about the migration to PayPal Payments on the Payments settings page.
public
add_paypal_migration_notice_on_payments_settings_page() : void
Return values
void —paypal_migration_notice_dismissed()
Check if the installation notice has been dismissed.
protected
static paypal_migration_notice_dismissed() : bool
