# fluent-support/trunk/app/Hooks/Handlers/DeactivationHandler.php

Fluent Support – Helpdesk &amp; Customer Support Ticket System, version trunk. 18 lines.

- Page: https://pluginprobe.com/plugins/fluent-support/trunk/code/app/Hooks/Handlers/DeactivationHandler.php
- Raw: https://pluginprobe.com/plugins/fluent-support/trunk/raw/app/Hooks/Handlers/DeactivationHandler.php
- Modified: 2026-09-15T14:15:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-support/trunk/code/app/Hooks/Handlers/DeactivationHandler.php#L10-L20`.

```php
<?php

namespace FluentSupport\App\Hooks\Handlers;

class DeactivationHandler
{
    public function handle()
    {
        wp_clear_scheduled_hook('fluent_support_hourly_tasks');
        wp_clear_scheduled_hook('fluent_support_daily_tasks');
        wp_clear_scheduled_hook('fluent_support_weekly_tasks');

        if (function_exists('as_unschedule_all_actions')) {
            as_unschedule_all_actions('fluent_support_half_hourly', [], 'fluent-support');
        }
    }
}

```
