Click here to review the plugin! Author: Pure Chat, Inc. Version: 1.1.5 Author URI: aritbot.ai */ defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); include 'variables.php'; class ArtiBot_Plugin { var $version = 8; public static function activate() { ArtiBot_Plugin::clear_cache(); } public static function deactivate() { ArtiBot_Plugin::clear_cache(); } function __construct() { // add_option('artibot_widget_code', '', '', 'yes'); // add_option('artibot_widget_name', '', '', 'yes'); add_action('wp_footer', array( &$this, 'artibot_load_snippet') ); add_action('admin_menu', array( &$this, 'artibot_menu' ) ); add_action('wp_ajax_artibot_update', array( &$this, 'artibot_update' ) ); $this->update_plugin(); } function update_plugin() { update_option('artibot_plugin_ver', $this->version); } function artibot_menu() { add_menu_page('ArtiBot', 'ArtiBot', 'manage_options', 'artibot-menu', array( &$this, 'artibot_generateAcctPage' ), plugins_url().'/artibot/favicon.ico'); } function artibot_update() { if($_POST['action'] == 'artibot_update' && strlen((string)$_POST['artibotwid']) == 36) { update_option('artibot_widget_code', $_POST['artibotwid']); update_option('artibot_widget_name', $_POST['artibotwname']); } } function artibot_load_snippet() { global $current_user; if(get_option('artibot_widget_code')) { echo(""); } else { echo(""); } } private static function clear_cache() { if (function_exists('wp_cache_clear_cache')) { wp_cache_clear_cache(); } } function artibot_generateAcctPage() { global $artibotHome; ?>

ArtiBot logo

ArtiBot.ai is an AI-powered lead capture tool for your website. It works 24 hours a day, 7 days a week! It's super easy to setup and use. Plus, it's free.

The button will open an ArtiBot selector in an external page. Keep in mind that your ArtiBot account is separate from your WordPress account.

Your current ArtiBot is:

Would you like to switch ArtiBots?