PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.7.5
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.7.5
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
fluent-community / app / Hooks / Handlers / DeactivationHandler.php

DeactivationHandler.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 2.7.5, at app/Hooks/Handlers/DeactivationHandler.php

28 lines 677 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentCommunity\App\Hooks\Handlers;
4
5 use FluentCommunity\Framework\Foundation\Application;
6
7 class DeactivationHandler
8 {
9 protected $app = null;
10
11 public function __construct(Application $app)
12 {
13 $this->app = $app;
14 }
15
16 public function handle()
17 {
18 if (function_exists('\as_unschedule_all_actions')) {
19 \as_unschedule_all_actions('fluent_community_scheduled_hour_jobs');
20 \as_unschedule_all_actions('fluent_community_daily_jobs');
21 }
22
23 if(function_exists('wp_cache_flush_group') && wp_cache_supports( 'flush_group' )) {
24 wp_cache_flush_group('fluent_community');
25 }
26 }
27 }
28