PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / trunk
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution vtrunk
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
fluent-booking / app / Services / Integrations / integrations.php

integrations.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution trunk, at app/Services/Integrations/integrations.php

46 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined('ABSPATH') || exit;
4
5 /*
6 * Global Modules Intialization
7 */
8 (new \FluentBooking\App\Services\GlobalModules\GlobalModules())->register();
9
10 // Global Notification Handler
11 (new \FluentBooking\App\Hooks\Handlers\GlobalNotificationHandler())->register();
12
13 add_action('fluentform/loaded', function () {
14 (new \FluentBooking\App\Services\Integrations\FluentForms\FluentFormInit())->init();
15 });
16
17 add_action('fluentcrm_loaded', function () {
18 (new \FluentBooking\App\Services\Integrations\FluentCRM\FluentCrmInit());
19
20 add_action('init', function () {
21 (new \FluentBooking\App\Services\Integrations\FluentCRM\Bootstrap());
22 });
23
24 });
25
26 add_action('fluent_boards_loaded', function () {
27 add_action('init', function () {
28 (new \FluentBooking\App\Services\Integrations\FluentBoards\Bootstrap());
29 });
30 });
31
32 add_action('fluentcart_loaded', function () use ($app) {
33 add_action('init', function () use ($app) {
34 (new \FluentBooking\App\Services\Integrations\FluentCart\Bootstrap($app));
35 });
36 });
37
38 if (defined('ELEMENTOR_VERSION')) {
39 /*
40 * We will keep it for then time being for backward compatibility of Old Fluent Booking Pro
41 */
42 if (!class_exists('\FluentBookingPro\App\Services\Integrations\Elementor\ElementorIntegration')) {
43 (new \FluentBooking\App\Services\Integrations\Elementor\ElementorIntegration())->register();
44 }
45 }
46