| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Support Genix Lite |
| 4 |
* Plugin URI: https://supportgenix.com |
| 5 |
* Description: Helpdesk, AI Chatbot, Knowledge Base & Customer Support Ticketing System. |
| 6 |
* Version: 1.4.54 |
| 7 |
* Author: Devitems |
| 8 |
* Author URI: https://devitems.com |
| 9 |
* License: GPL v2 or later |
| 10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 |
* Text Domain: support-genix-lite |
| 12 |
* Domain Path: /languages |
| 13 |
* Requires at least: 6.0 |
| 14 |
* Requires PHP: 7.4 |
| 15 |
*/ |
| 16 |
|
| 17 |
defined('ABSPATH') || exit; |
| 18 |
|
| 19 |
global $wpdb; |
| 20 |
$apbdWpSupportLiteLoad = false; |
| 21 |
$apbdWpSupportLiteFile = __FILE__; |
| 22 |
$apbdWpSupportLitePath = dirname($apbdWpSupportLiteFile); |
| 23 |
$apbdWpSupportLiteVersion = '1.4.54'; |
| 24 |
|
| 25 |
if (!defined('SUPPORT_GENIX_LITE_FILE_PATH')) { |
| 26 |
define('SUPPORT_GENIX_LITE_FILE_PATH', $apbdWpSupportLitePath); |
| 27 |
} |
| 28 |
|
| 29 |
if (!defined('SUPPORT_GENIX_LITE_VERSION')) { |
| 30 |
define('SUPPORT_GENIX_LITE_VERSION', $apbdWpSupportLiteVersion); |
| 31 |
} |
| 32 |
|
| 33 |
include_once ABSPATH . 'wp-admin/includes/plugin.php'; |
| 34 |
include_once $apbdWpSupportLitePath . '/appcore/ApbdWps_DiagnosticData.php'; |
| 35 |
include_once $apbdWpSupportLitePath . '/appcore/ApbdWps_LoaderLite.php'; |
| 36 |
// include_once $apbdWpSupportLitePath . '/appcore/ApbdWps_OfferLite.php'; |
| 37 |
include_once $apbdWpSupportLitePath . '/appcore/ApbdWps_HTNewsAPI.php'; |
| 38 |
include_once $apbdWpSupportLitePath . '/appcore/ApbdWps_DeactiveFeedback.php'; |
| 39 |
|
| 40 |
$apbdWpSupportLiteLoad = ApbdWps_LoaderLite::isReadyToLoad($apbdWpSupportLiteFile, $apbdWpSupportLiteVersion); |
| 41 |
|
| 42 |
if (true === $apbdWpSupportLiteLoad) { |
| 43 |
include_once $apbdWpSupportLitePath . '/appcore/ApbdWps_Promo.php'; |
| 44 |
|
| 45 |
include_once $apbdWpSupportLitePath . '/core/helper.php'; |
| 46 |
include_once $apbdWpSupportLitePath . '/appcore/plugin_helper.php'; |
| 47 |
include_once $apbdWpSupportLitePath . '/appcore/docs_helper.php'; |
| 48 |
include_once $apbdWpSupportLitePath . '/appcore/ApbdWps_SupportLite.php'; |
| 49 |
include_once $apbdWpSupportLitePath . '/templates/functions.php'; |
| 50 |
include_once $apbdWpSupportLitePath . '/appcore/loco_extractor.php'; |
| 51 |
|
| 52 |
$apbdWpSupportLitePos = new ApbdWps_SupportLite($apbdWpSupportLiteFile, $apbdWpSupportLiteVersion); |
| 53 |
$apbdWpSupportLitePos->StartPlugin(); |
| 54 |
|
| 55 |
// Deactivation hook. |
| 56 |
register_deactivation_hook($apbdWpSupportLiteFile, [$apbdWpSupportLitePos, 'OnDeactive']); |
| 57 |
} |
| 58 |
|