<?php

namespace BitApps\PiPro\src\Integrations\ContactFormEmail;

use BitApps\Pi\src\Integrations\HookRegisterInterface;

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

class ContactFormEmailHooks implements HookRegisterInterface
{
    public function register(): array
    {
        return [
            'formSubmission' => [
                'hook'     => 'cfte_process_data',
                'callback' => [ContactFormEmailTrigger::class, 'formSubmission'],
                'priority' => 10,
            ],
        ];
    }
}
