<?php

if (!defined('ABSPATH')) {
    exit;
}

final class AISBW_Deactivator
{
    public static function deactivate(): void
    {
        $timestamp = wp_next_scheduled('aisbw_cron_run');

        if ($timestamp) {
            wp_unschedule_event($timestamp, 'hourly', 'aisbw_cron_run');
        }
    }
}
