-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
estimated-dispatch-date-woocommerce.php
38 lines (30 loc) · 1.25 KB
/
estimated-dispatch-date-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: Estimated Dispatch Date For WooCommerce
* Plugin URI: https://wordpress.org/plugins/estimated-dispatch-date-woocommerce/
* Description: CALCULATE ESTIMATED DISPATCH DATE FOR PRODUCTS & ORDERS
* Version: 1.1
* Author: Varun Sridharan
* Author URI: http://varunsridharan.in
* Text Domain: estimated-dispatch-date-woocommerce
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages/
* GitHub Plugin URI: https://github.com/technofreaky/estimated-dispatch-date-for-woocommerce
*/
if ( ! defined( 'WPINC' ) ) { die; }
define('EDDWC_FILE',plugin_basename( __FILE__ )); # Current File
require_once(plugin_dir_path(__FILE__).'bootstrap.php');
require_once(plugin_dir_path(__FILE__).'includes/class-welcome-page.php');
require_once(plugin_dir_path(__FILE__).'includes/plugin-functions.php');
require_once(plugin_dir_path(__FILE__).'includes/class-dependencies.php');
if(Estimated_Dispatch_Date_For_WooCommerce_Dependencies()){
if(!function_exists('EDDWC')){
function EDDWC(){
return Estimated_Dispatch_Date_For_WooCommerce::get_instance();
}
}
EDDWC();
new estimated_dispatch_date_woocommerce_welcome_page;
}
?>