feature/webview-softphone #2
@@ -29,7 +29,12 @@ class TWP_Core {
|
|||||||
private function load_dependencies() {
|
private function load_dependencies() {
|
||||||
// Loader class
|
// Loader class
|
||||||
require_once TWP_PLUGIN_DIR . 'includes/class-twp-loader.php';
|
require_once TWP_PLUGIN_DIR . 'includes/class-twp-loader.php';
|
||||||
|
|
||||||
|
// Activator (defines TWP_Activator). Loaded here so runtime callers in
|
||||||
|
// webhook/REST/cron contexts can use ::ensure_tables_exist() and
|
||||||
|
// ::force_table_updates() without each site needing its own require_once.
|
||||||
|
require_once TWP_PLUGIN_DIR . 'includes/class-twp-activator.php';
|
||||||
|
|
||||||
// API classes
|
// API classes
|
||||||
require_once TWP_PLUGIN_DIR . 'includes/class-twp-twilio-api.php';
|
require_once TWP_PLUGIN_DIR . 'includes/class-twp-twilio-api.php';
|
||||||
require_once TWP_PLUGIN_DIR . 'includes/class-twp-elevenlabs-api.php';
|
require_once TWP_PLUGIN_DIR . 'includes/class-twp-elevenlabs-api.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user