aGo AI Chatbot: '; echo esc_html__( 'aGo AI Chatbot Pro is active on this site and replaces this free version. You can safely deactivate and delete "aGo AI Chatbot" from the Plugins page. Your settings, files and conversations are preserved.', 'ago-ai-chatbot' ); echo '

'; }); return; } defined( 'AGOAICHAT_VERSION' ) || define( 'AGOAICHAT_VERSION', '1.2.0' ); defined( 'AGOAICHAT_FILE' ) || define( 'AGOAICHAT_FILE', __FILE__ ); defined( 'AGOAICHAT_PATH' ) || define( 'AGOAICHAT_PATH', plugin_dir_path( __FILE__ ) ); defined( 'AGOAICHAT_URL' ) || define( 'AGOAICHAT_URL', plugin_dir_url( __FILE__ ) ); /* PSR-4 Autoloader (path captured locally so Lite/Pro coexisting do not share state) */ $agoaichat_autoload_path = plugin_dir_path( __FILE__ ); spl_autoload_register( function ( string $class ) use ( $agoaichat_autoload_path ) { $prefix = 'AgoLab\\AIChatbot\\'; if ( strncmp( $class, $prefix, strlen( $prefix ) ) !== 0 ) return; $file = $agoaichat_autoload_path . 'src/' . str_replace( '\\', '/', substr( $class, strlen( $prefix ) ) ) . '.php'; if ( file_exists( $file ) ) require $file; }); add_action( 'plugins_loaded', function () { \AgoLab\AIChatbot\Plugin::instance(); });