PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.3.2
Fluent Support – Helpdesk & Customer Support Ticket System v2.3.2
2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 All 67 releases
fluent-support / fluent-support.php

fluent-support.php in Fluent Support – Helpdesk & Customer Support Ticket System 2.3.2, at fluent-support.php

35 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined('ABSPATH') or die;
2 /**
3 * Plugin Name: Fluent Support
4 * Description: The Ultimate Support Plugin For Your WordPress.
5 * Version: 2.3.2
6 * Author: WPManageNinja LLC
7 * Author URI: https://wpmanageninja.com
8 * Plugin URI: https://fluentsupport.com
9 * License: GPLv2 or later
10 * Text Domain: fluent-support
11 * Domain Path: /language
12 */
13
14 define('FLUENT_SUPPORT_VERSION', '2.3.2');
15 define('FLUENT_SUPPORT_DB_VERSION', '1.0.5');
16 define('FLUENT_SUPPORT_PRO_MIN_VERSION', '2.3.2');
17 define('FLUENT_SUPPORT_UPLOAD_DIR', 'fluent-support');
18 define('FLUENT_SUPPORT_PLUGIN_URL', plugin_dir_url(__FILE__));
19 define('FLUENT_SUPPORT_PLUGIN_PATH', plugin_dir_path(__FILE__));
20
21 require __DIR__ . '/vendor/autoload.php';
22
23 call_user_func(function ($bootstrap) {
24 $bootstrap(__FILE__);
25 }, require(__DIR__ . '/boot/app.php'));
26
27
28 add_action('wp_insert_site', function ($new_site) {
29 if (is_plugin_active_for_network('fluent-support/fluent-support.php')) {
30 switch_to_blog($new_site->blog_id);
31 (new \FluentSupport\App\Hooks\Handlers\ActivationHandler)->handle(false);
32 restore_current_blog();
33 }
34 });
35