-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwoo-keep-the-change.php
More file actions
81 lines (68 loc) · 2.01 KB
/
Copy pathwoo-keep-the-change.php
File metadata and controls
81 lines (68 loc) · 2.01 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/**
* Plugin Name: eCommerce Keep The Change
* Plugin URI: https://WPCouple.com/
* Description: Keep the change fee added in the cart.
* Author: TheDevCouple (Ahmad Awais & Maedah Batool)
* Author URI: https://AhmadAwais.com/
* Text Domain: WKTC
* Version: 2.1.0
* License: GPL v2+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* @package WKTC
*/
/*
Copyright 2015-Present WPTie ( email: support at WPTie.com )
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
( at your option ) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* Define global constants
*
* @package WKTC
* @since 0.0.1
*/
// WKTC Version.
if ( ! defined( 'WKTC_VERSION' ) ) {
define( 'WKTC_VERSION', '1.0.2' );
}
// WKTC Name.
if ( ! defined( 'WKTC_NAME' ) ) {
define( 'WKTC_NAME', trim( dirname( plugin_basename( __FILE__ ) ), '/' ) );
}
// WKTC Dir.
if ( ! defined( 'WKTC_DIR' ) ) {
define( 'WKTC_DIR', WP_PLUGIN_DIR . '/' . WKTC_NAME );
}
// WKTC URL.
if ( ! defined( 'WKTC_URL' ) ) {
define( 'WKTC_URL', WP_PLUGIN_URL . '/' . WKTC_NAME );
}
// Plugin Root File.
if ( ! defined( 'WKTC_PLUGIN_FILE' ) ) {
define( 'WKTC_PLUGIN_FILE', __FILE__ );
}
/**
* AA Main File
*
* This is the main file of AA which controls everything in this plugin
*
* @since 0.0.1
*/
if ( file_exists( WKTC_DIR . '/assets/wktc-init.php' ) ) {
require_once WKTC_DIR . '/assets/wktc-init.php';
}