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.
{} Это метод класса: Package{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$result = Package::on_deactivation();
Код Package::on_deactivation() Package::on deactivation WC 5.2.2
public static function on_deactivation() {
if ( ! self::is_notes_initialized() ) {
return;
}
$update_version = new DeactivatePlugin();
$update_version::delete_note();
}