-
Notifications
You must be signed in to change notification settings - Fork 2
/
vn-shipping.php
31 lines (27 loc) · 1.09 KB
/
vn-shipping.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* Plugin Name: VNShipping for WooCommerce
* Plugin URI: https://github.com/awethemes/vn-shipping
* Description: Support shipping couriers in Vietnam like GHN, GHTK, Viettel-Post.
* Author: awethemes
* Author URI: https://awethemes.com
* Text Domain: vn-shipping
* Domain Path: /languages
* Version: 0.2.0
*
* @package VNShipping
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'VN_SHIPPING_VERSION', '0.2.0' );
define( 'VN_SHIPPING_DB_VERSION', '1.0.0' );
define( 'VN_SHIPPING_PLUGIN_FILE', __FILE__ );
define( 'VN_SHIPPING_PLUGIN_DIR_PATH', plugin_dir_path( VN_SHIPPING_PLUGIN_FILE ) );
define( 'VN_SHIPPING_PLUGIN_DIR_URL', plugin_dir_url( VN_SHIPPING_PLUGIN_FILE ) );
define( 'VN_SHIPPING_ASSETS_URL', VN_SHIPPING_PLUGIN_DIR_URL . 'dist' );
define( 'VN_SHIPPING_MINIMUM_PHP_VERSION', '7.1.3' );
require __DIR__ . '/third-party/vendor/scoper-autoload.php';
require __DIR__ . '/vendor/autoload.php';
// Main plugin initialization happens there so that this file is still parsable in PHP < 5.6.
require __DIR__ . '/inc/namespace.php';