- Created a base mail template - Adapt and improve document API to usage of catalogs and processors - Adapt eveai_sync to new authentication mechanism and usage of catalogs and processors
26 lines
601 B
PHP
26 lines
601 B
PHP
<?php
|
|
/**
|
|
* Plugin Name: EveAI Chat Widget
|
|
* Description: Integrates the EveAI chat interface into your WordPress site.
|
|
* Version: 2.0.0
|
|
*/
|
|
|
|
if (!defined('WPINC')) {
|
|
die;
|
|
}
|
|
|
|
// Define plugin constants
|
|
define('EVEAI_CHAT_VERSION', '2.0.0');
|
|
define('EVEAI_CHAT_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
|
define('EVEAI_CHAT_PLUGIN_URL', plugin_dir_url(__FILE__));
|
|
|
|
// Require the loader class
|
|
require_once EVEAI_CHAT_PLUGIN_DIR . 'includes/class-eveai-loader.php';
|
|
|
|
// Initialize the plugin
|
|
function run_eveai_chat() {
|
|
$plugin = new EveAI_Chat_Loader();
|
|
$plugin->run();
|
|
}
|
|
|
|
run_eveai_chat(); |