<?php
/**
 * Plugin Name:       Tryonixs Virtual Try-On for Eyewear Stores
 * Plugin URI:        https://tryonixs.com/wordpress-plugin
 * Description:       Add AI-powered virtual try-on to your online eyewear store. Let customers try glasses virtually before buying with a modern AR shopping experience.
 * Version:           1.3.7
 * Requires at least: 5.8
 * Requires PHP:      7.4
 * Requires Plugins:  woocommerce
 * Author:            Tryonixs
 * Author URI:        https://tryonixs.com
 * License:           GPLv2 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       tryonixs-virtual-try-on-for-eyewear-stores
 *
 * @package EyewearVirtualTryOn
 */

if (!defined('ABSPATH')) {
    exit;
}

define('EYEWVITR_VERSION', '1.3.7');
define('EYEWVITR_SDK_VERSION', '1.2.0');
define('EYEWVITR_PLUGIN_FILE', __FILE__);
define('EYEWVITR_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('EYEWVITR_PLUGIN_URL', plugin_dir_url(__FILE__));

require_once EYEWVITR_PLUGIN_DIR . 'includes/helpers.php';
require_once EYEWVITR_PLUGIN_DIR . 'includes/frontend.php';
require_once EYEWVITR_PLUGIN_DIR . 'includes/product-meta.php';
require_once EYEWVITR_PLUGIN_DIR . 'includes/admin.php';
require_once EYEWVITR_PLUGIN_DIR . 'includes/onboarding.php';

/**
 * Plugin activation.
 *
 * @return void
 */
function eyewvitr_on_activate() {
    eyewvitr_activate();
}
register_activation_hook(__FILE__, 'eyewvitr_on_activate');
