<?php
/**
 * Plugin Name: Ibtana - Ecommerce Product Addons
 * Plugin URI: https://www.vwthemes.com/products/free-woocommerce-product-add-ons/
 * Description: Enhance your e-commerce product pages with Ibtana – Ecommerce Product Addons. Create eye-catching product pages without the need for coding skills.
 * Author: VowelWeb
 * Author URI: https://www.vowelweb.com/
 * Version: 0.4.7.8
 * Requires at least: 5.2
 * Requires PHP: 7.2
 * License: GPL2+
 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain: ibtana-ecommerce-product-addons
 * Domain Path:       /languages
 * @package CGB
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

define( 'IEPA_PLUGIN_FILE', __FILE__ );
define( 'IEPA_PLUGIN_URI', plugins_url( '/', IEPA_PLUGIN_FILE ) );
define( 'IEPA_PLUGIN_THEME', 'ibtana' );
define( 'IEPA_DESKTOP_STARTPOINT', '1025' );
define( 'IEPA_TABLET_BREAKPOINT', '1024' );
define( 'IEPA_MOBILE_BREAKPOINT', '767' );
define( 'IEPA_BASE', plugin_basename( IEPA_PLUGIN_FILE ) );
define( 'IEPA_DIR', plugin_dir_path( IEPA_PLUGIN_FILE ) );
define( 'IEPA_WP_PLUGINS_DIR', str_replace( 'ibtana-ecommerce-product-addons/', '', plugin_dir_path( IEPA_PLUGIN_FILE ) ) );
define( 'IEPA_URL', plugins_url( '/', IEPA_PLUGIN_FILE ) );
define( 'IEPA_ABSPATH', dirname(__FILE__) . '/' );

define( 'SHOPIFY_IBTANA_LICENSE_API_ENDPOINT', 'https://license.vwthemes.com/api/public/' );

define( 'IEPA_PLUGIN_NAME', 'Ibtana - Ecommerce Product Addons' );
define( 'IEPA_VERSION', '0.4.7.8' );
define( 'IEPA_TEXT_DOMAIN', 'ibtana-ecommerce-product-addons' );

require_once 'classes/class-iepa-loader.php';
require_once IEPA_DIR . 'IEPA_Whizzie/config.php';

/**
 * Block Initializer.
 */
require_once plugin_dir_path( __FILE__ ) . 'src/init.php';

require_once IEPA_DIR . 'inc/class-admin.php';
require_once IEPA_DIR . 'inc/class-public.php';
require_once IEPA_DIR . 'inc/class-pro.php';
require_once IEPA_DIR . 'iepa_addon.php';

require_once IEPA_DIR . 'classes/class-iepa-config.php';
require_once IEPA_DIR . 'classes/class-iepa-block-helper.php';
require_once IEPA_DIR . 'classes/class-iepa-block-js.php';
require_once IEPA_DIR . 'classes/class-iepa-helper.php';
