WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

SetUpAdditionalPaymentTypes::on_deactivate_wcpay() public WC 1.0

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.

{} It's a method of the class: SetUpAdditionalPaymentTypes{}

No Hooks.

Return

null. Nothing.

Usage

$result = SetUpAdditionalPaymentTypes::on_deactivate_wcpay();

Code of SetUpAdditionalPaymentTypes::on_deactivate_wcpay() WC 5.3.0

<?php
public static function on_deactivate_wcpay() {
	self::possibly_delete_note();
}