<?php

/**
 * Plugin Name: Direct Checkout for WooCommerce
 * Plugin URI:  https://quadlayers.com/documentation/woocommerce-direct-checkout/
 * Description: Simplifies the checkout process to improve your sales rate.
 * Version:     2.5.7
 * Author:      QuadLayers
 * Author URI:  https://quadlayers.com
 * License: GPLv3
 * Text Domain: woocommerce-direct-checkout
 * WC requires at least: 3.1.0
 * WC tested up to: 5.9
 */
if (!defined('ABSPATH')) {
  die('-1');
}
if (!defined('QLWCDC_PLUGIN_NAME')) {
  define('QLWCDC_PLUGIN_NAME', 'Direct Checkout for WooCommerce');
}
if (!defined('QLWCDC_PLUGIN_VERSION')) {
  define('QLWCDC_PLUGIN_VERSION', '2.5.7');
}
if (!defined('QLWCDC_PLUGIN_FILE')) {
  define('QLWCDC_PLUGIN_FILE', __FILE__);
}
if (!defined('QLWCDC_PLUGIN_DIR')) {
  define('QLWCDC_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR);
}
if (!defined('QLWCDC_PREFIX')) {
  define('QLWCDC_PREFIX', 'qlwcdc');
}
if (!defined('QLWCDC_DOMAIN')) {
  define('QLWCDC_DOMAIN', QLWCDC_PREFIX);
}
if (!defined('QLWCDC_WORDPRESS_URL')) {
  define('QLWCDC_WORDPRESS_URL', 'https://wordpress.org/plugins/woocommerce-direct-checkout/');
}
if (!defined('QLWCDC_REVIEW_URL')) {
  define('QLWCDC_REVIEW_URL', 'https://wordpress.org/support/plugin/woocommerce-direct-checkout/reviews/?filter=5#new-post');
}
if (!defined('QLWCDC_DEMO_URL')) {
  define('QLWCDC_DEMO_URL', 'https://quadlayers.com/woocommerce-direct?utm_source=qlwcdc_admin');
}
if (!defined('QLWCDC_DOCUMENTATION_URL')) {
  define('QLWCDC_DOCUMENTATION_URL', 'https://quadlayers.com/documentation/woocommerce-direct-checkout/?utm_source=qlwcdc_admin');
}
if (!defined('QLWCDC_PURCHASE_URL')) {
  define('QLWCDC_PURCHASE_URL', 'https://quadlayers.com/portfolio/woocommerce-direct-checkout/?utm_source=qlwcdc_admin');
}
if (!defined('QLWCDC_SUPPORT_URL')) {
  define('QLWCDC_SUPPORT_URL', 'https://quadlayers.com/account/support/?utm_source=qlwcdc_admin');
}
if (!defined('QLWCDC_GROUP_URL')) {
  define('QLWCDC_GROUP_URL', 'https://www.facebook.com/groups/quadlayers');
}

if (!class_exists('QLWCDC')) {
  include_once(QLWCDC_PLUGIN_DIR . 'includes/qlwcdc.php');
}


if (!class_exists('QL_Widget')) {
  include_once(QLWCDC_PLUGIN_DIR . 'includes/quadlayers/widget.php');
}
