WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Composer

Package::on_deactivation() public WC 1.0

Add deactivation hook for versions of the plugin that don't have the deactivation note.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Package::on_deactivation();

Code of Package::on_deactivation() WC 5.3.0

<?php
public static function on_deactivation() {
	if ( ! self::is_notes_initialized() ) {
		return;
	}

	$update_version = new DeactivatePlugin();
	$update_version::delete_note();
}