PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.01
2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 1.1.0 All 77 releases
← All changes | Modules/Integrations/Integrations.php +20 -5 1.0.962.10.01 View file →
@@ -5,22 +5,37 @@
5 5 use FluentCommunity\App\Services\Helper;
6 6
7 7 class Integrations
8 8 {
9 -
10 - public function register()
9 + public function register($app)
11 10 {
12 - $this->init();
11 + $this->init($app);
13 12 }
14 13
15 - public function init()
14 + public function init($app)
16 15 {
17 16 if (defined('FLUENTCRM')) {
18 17 new \FluentCommunity\Modules\Integrations\FluentCRM\SpaceJoinTrigger();
19 -
18 + (new \FluentCommunity\Modules\Integrations\FluentCRM\ProfileSection())->register();
20 19 // Course Specifics
21 20 if (Helper::isFeatureEnabled('course_module')) {
22 21 new \FluentCommunity\Modules\Integrations\FluentCRM\CourseEnrollmentTrigger();
22 + new \FluentCommunity\Modules\Integrations\FluentCRM\CourseCompletedTrigger();
23 + new \FluentCommunity\Modules\Integrations\FluentCRM\CourseTopicCompletedTrigger();
24 + new \FluentCommunity\Modules\Integrations\FluentCRM\LessonCompletedTrigger();
23 25 }
24 26 }
27 +
28 + if (defined('FLUENTFORM')) {
29 + add_action('init', function () {
30 + new \FluentCommunity\Modules\Integrations\FluentForms\Bootstrap();
31 + });
32 + }
33 +
34 + if (defined('FLUENTCART_VERSION')) {
35 + (new \FluentCommunity\Modules\Integrations\FluentCart\Paywalls())->register($app);
36 + (new \FluentCommunity\Modules\Integrations\FluentCart\CartCheckout())->register();
37 + }
38 +
39 + (new \FluentCommunity\Modules\Integrations\FluentPlayer\Bootstrap())->register($app);
25 40 }
26 41 }