| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
* Global Modules Intialization |
| 5 |
*/ |
| 6 |
(new \FluentBooking\App\Services\GlobalModules\GlobalModules())->register(); |
| 7 |
|
| 8 |
// Global Notification Handler |
| 9 |
(new \FluentBooking\App\Hooks\Handlers\GlobalNotificationHandler())->register(); |
| 10 |
|
| 11 |
add_action('fluentform/loaded', function () { |
| 12 |
(new \FluentBooking\App\Services\Integrations\FluentForms\FluentFormInit())->init(); |
| 13 |
}); |
| 14 |
|
| 15 |
add_action('fluentcrm_loaded', function () { |
| 16 |
(new \FluentBooking\App\Services\Integrations\FluentCRM\FluentCrmInit()); |
| 17 |
(new \FluentBooking\App\Services\Integrations\FluentCRM\Bootstrap()); |
| 18 |
}); |
| 19 |
|
| 20 |
add_action('fluent_boards_loaded', function () { |
| 21 |
(new \FluentBooking\App\Services\Integrations\FluentBoards\Bootstrap()); |
| 22 |
}); |