forked from koreakit/korea-for-woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkorea-for-woocommerce.php
38 lines (34 loc) · 1.09 KB
/
korea-for-woocommerce.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
32
33
34
35
36
37
38
<?php
/**
* Plugin Name: Korea for WooCommerce
* Plugin URI: https://wordpress.org/plugins/korea-for-woocommerce/
* Description: WooCommerce Toolkit for Korean use.
* Version: 1.1.6
* Author: GREYS
* Author URI: https://greys.co/
* Requires at least: 5.0.0
* Tested up to: 5.6.0
* WC requires at least: 3.4.0
* WC tested up to: 4.9.0
*
* Text Domain: korea-for-woocommerce
* Domain Path: /i18n/
*
* @package korea-for-woocommerce
* @author GREYS
*/
defined( 'ABSPATH' ) || exit;
// Define Constants.
define( 'WC_KOREA_VERSION', '1.1.6' );
define( 'WC_KOREA_MAIN_FILE', __FILE__ );
define( 'WC_KOREA_ABSPATH', dirname( __FILE__ ) );
define( 'WC_KOREA_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
define( 'WC_KOREA_PLUGIN_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
// Include the main WC_Korea class.
if ( ! class_exists( 'WC_Korea' ) ) {
include_once dirname( __FILE__ ) . '/includes/class-wc-korea.php';
}
/**
* Initialize the plugin.
*/
add_action( 'plugins_loaded', array( 'WC_Korea', 'get_instance' ) );