File "DeactivationHandler.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/fluentform/app/Hooks/Handlers/DeactivationHandler.php
File size: 359 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace FluentForm\App\Hooks\Handlers;

class DeactivationHandler
{
    public function handle()
    {
        $this->disableCronSchedule();
    }

    private function disableCronSchedule()
    {
        wp_clear_scheduled_hook('fluentform_do_scheduled_tasks');
        wp_clear_scheduled_hook('fluentform_do_email_report_scheduled_tasks');
    }
}