-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcustomer-support-bot.php
29 lines (26 loc) · 1.07 KB
/
customer-support-bot.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/*
Plugin Name: Customer Support Bot
Description: A WordPress plugin that provides an AI-powered customer support chatbot with appointment scheduling capabilities.
Version: 0.2.2
Author: Admin
Text Domain: customer-support-bot
Domain Path: /languages
*/
// Exit if accessed directly
if (!defined('ABSPATH')) {
exit;
}
// Load text domain for translations
function vacw_load_textdomain() {
load_plugin_textdomain('customer-support-bot', false, basename(dirname(__FILE__)) . '/languages');
}
add_action('plugins_loaded', 'vacw_load_textdomain');
// Include required files
require_once plugin_dir_path(__FILE__) . 'includes/enqueue-scripts.php';
require_once plugin_dir_path(__FILE__) . 'includes/chatbot-widget.php';
require_once plugin_dir_path(__FILE__) . 'includes/settings-page.php';
require_once plugin_dir_path(__FILE__) . 'includes/ajax-handlers.php';
require_once plugin_dir_path(__FILE__) . 'includes/prompt-builder.php';
require_once plugin_dir_path(__FILE__) . 'includes/function-handlers.php';
require_once plugin_dir_path(__FILE__) . 'includes/frontend-custom-css.php';