SetUpAdditionalPaymentTypes::on_activate_wcpay()

Method: Executes when the WooCommerce Payments plugin is activated. It does nothing if WooCommerce Payments plugin is not included in onboarding business extensions, otherwise it possibly adds the note if it isn’t already in the database and if it matches any criteria (see get_note()).

Source: packages/woocommerce-admin/src/Notes/SetUpAdditionalPaymentTypes.php:53

Used by 0 functions | Uses 0 functions

SetUpAdditionalPaymentTypes::on_deactivate_wcpay()

Method: Executes when the WooCommerce Payments plugin is deactivated. Possibly hard-deletes the note if it is in the database. Hard-delete is used instead of soft-delete or actioning the note because we need to show the note if the plugin is activated again.

Source: packages/woocommerce-admin/src/Notes/SetUpAdditionalPaymentTypes.php:72

Used by 0 functions | Uses 0 functions