-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchattybox.php
More file actions
44 lines (38 loc) · 1.04 KB
/
Copy pathchattybox.php
File metadata and controls
44 lines (38 loc) · 1.04 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* Plugin Name: ChattyBox AI Chatbot
* Plugin URI: https://chattybox.ai/wordpress-chatbot-plugin/
* Description: Add the ChattyBox source-cited AI chatbot to your public WordPress pages without editing theme files.
* Version: 0.2.0
* Requires at least: 5.8
* Requires PHP: 7.4
* Author: ChattyBox
* Author URI: https://chattybox.ai/
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: chattybox
*
* @package ChattyBox
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'CHATTYBOX_VERSION', '0.2.0' );
define( 'CHATTYBOX_FILE', __FILE__ );
define( 'CHATTYBOX_DIR', plugin_dir_path( __FILE__ ) );
define( 'CHATTYBOX_URL', plugin_dir_url( __FILE__ ) );
require_once CHATTYBOX_DIR . 'includes/class-chattybox-plugin.php';
register_activation_hook(
__FILE__,
array( 'ChattyBox_Plugin', 'activate' )
);
register_deactivation_hook(
__FILE__,
array( 'ChattyBox_Plugin', 'deactivate' )
);
add_action(
'plugins_loaded',
static function () {
ChattyBox_Plugin::instance()->boot();
}
);