PluginProbe ʕ •ᴥ•ʔ
AI Copilot – Content Generator / 1.5.4
AI Copilot – Content Generator v1.5.4
1.5.4 1.4.21 1.4.18 1.4.19 1.4.20 trunk 1.0.4 1.1.0 1.2.0 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.17 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.9
ai-copilot-content-generator / config.php
ai-copilot-content-generator Last commit date
classes 1 week ago common 1 week ago languages 1 week ago logs 1 week ago modules 1 week ago ai-copilot-content-generator.php 1 week ago config.php 1 week ago functions.php 1 week ago license.txt 1 week ago readme.txt 1 week ago
config.php
73 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
5 global $wpdb;
6 if (!defined('WPLANG') || WPLANG == '') {
7 define('WAIC_WPLANG', 'en_GB');
8 } else {
9 define('WAIC_WPLANG', WPLANG);
10 }
11
12 define('WAIC_DS', DIRECTORY_SEPARATOR);
13 define('WAIC_PLUG_NAME', basename(dirname(__FILE__)));
14 define('WAIC_DIR', WP_PLUGIN_DIR . WAIC_DS . WAIC_PLUG_NAME . WAIC_DS);
15 define('WAIC_LOG_DIR', WP_CONTENT_DIR . WAIC_DS . 'waic_logs');
16 define('WAIC_CLASSES_DIR', WAIC_DIR . 'classes' . WAIC_DS);
17 define('WAIC_TABLES_DIR', WAIC_CLASSES_DIR . 'tables' . WAIC_DS);
18 define('WAIC_HELPERS_DIR', WAIC_CLASSES_DIR . 'helpers' . WAIC_DS);
19 define('WAIC_LANG_DIR', WAIC_DIR . 'languages' . WAIC_DS);
20 define('WAIC_ASSETS_DIR', WAIC_DIR . 'common' . WAIC_DS);
21 define('WAIC_IMG_DIR', WAIC_ASSETS_DIR . 'img' . WAIC_DS);
22 define('WAIC_JS_DIR', WAIC_ASSETS_DIR . 'js' . WAIC_DS);
23 define('WAIC_LIB_DIR', WAIC_ASSETS_DIR . 'lib' . WAIC_DS);
24 define('WAIC_MODULES_DIR', WAIC_DIR . 'modules' . WAIC_DS);
25 define('WAIC_ADMIN_DIR', ABSPATH . 'wp-admin' . WAIC_DS);
26
27 define('WAIC_PLUGINS_URL', plugins_url());
28 if (!defined('WAIC_SITE_URL')) {
29 define('WAIC_SITE_URL', get_bloginfo('wpurl') . '/');
30 }
31 define('WAIC_LIB_PATH', WAIC_PLUGINS_URL . '/' . WAIC_PLUG_NAME . '/common/lib/');
32 define('WAIC_JS_PATH', WAIC_PLUGINS_URL . '/' . WAIC_PLUG_NAME . '/common/js/');
33 define('WAIC_CSS_PATH', WAIC_PLUGINS_URL . '/' . WAIC_PLUG_NAME . '/common/css/');
34 define('WAIC_IMG_PATH', WAIC_PLUGINS_URL . '/' . WAIC_PLUG_NAME . '/common/img/');
35 define('WAIC_MODULES_PATH', WAIC_PLUGINS_URL . '/' . WAIC_PLUG_NAME . '/modules/');
36
37 define('WAIC_URL', WAIC_SITE_URL);
38
39 define('WAIC_LOADER_IMG', WAIC_IMG_PATH . 'loading.gif');
40 define('WAIC_TIME_FORMAT', 'H:i:s');
41 define('WAIC_DATE_DL', '/');
42 define('WAIC_DATE_FORMAT', 'm/d/Y');
43 define('WAIC_DATE_FORMAT_HIS', 'm/d/Y (' . WAIC_TIME_FORMAT . ')');
44 define('WAIC_DB_PREF', 'waic_');
45 define('WAIC_MAIN_FILE', 'ai-copilot-content-generator.php');
46
47 define('WAIC_DEFAULT', 'default');
48
49 define('WAIC_VERSION', '1.5.4');
50
51 define('WAIC_CLASS_PREFIX', 'waicc');
52 define('WAIC_TEST_MODE', false);
53
54 define('WAIC_ADMIN', 'admin');
55 define('WAIC_LOGGED', 'logged');
56 define('WAIC_GUEST', 'guest');
57
58 define('WAIC_METHODS', 'methods');
59 define('WAIC_USERLEVELS', 'userlevels');
60 /**
61 * Framework instance code
62 */
63 define('WAIC_CODE', 'waic');
64 /**
65 * Plugin name
66 */
67 define('WAIC_WP_PLUGIN_NAME', 'AI Copilot - Content Generator');
68 /**
69 * Custom defined for plugin
70 */
71 define('WAIC_CHATBOT', 'aiwu-chatbot');
72 define('WAIC_FORM', 'aiwu-form');
73