-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathaffiliates.php
58 lines (56 loc) · 1.82 KB
/
affiliates.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* affiliates.php
*
* Copyright (c) 2010-2024 "kento" Karim Rahimpur www.itthinx.com
*
* This code is released under the GNU General Public License.
* See COPYRIGHT.txt and LICENSE.txt.
*
* This code 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.
*
* This header and all notices must be kept intact.
*
* @author Karim Rahimpur
* @package affiliates
* @since affiliates 1.0.0
*
* Plugin Name: Affiliates
* Plugin URI: https://www.itthinx.com/plugins/affiliates
* Description: The Affiliates plugin provides the right tools to maintain a partner referral program.
* Version: 4.20.0
* Requires at least: 6.2
* Requires PHP: 7.4
* Author: itthinx
* Author URI: https://www.itthinx.com
* Donate-Link: https://www.itthinx.com/shop
* Text Domain: affiliates
* Domain Path: /lib/core/languages
* License: GPLv3
*/
if ( !defined( 'ABSPATH' ) ) {
exit;
}
if ( !defined( 'AFFILIATES_CORE_VERSION' ) ) {
define( 'AFFILIATES_CORE_VERSION', '4.20.0' );
define( 'AFFILIATES_PLUGIN_NAME', 'affiliates' );
define( 'AFFILIATES_FILE', __FILE__ );
define( 'AFFILIATES_PLUGIN_BASENAME', plugin_basename( AFFILIATES_FILE ) );
if ( !defined( 'AFFILIATES_CORE_DIR' ) ) {
define( 'AFFILIATES_CORE_DIR', WP_PLUGIN_DIR . '/affiliates' );
}
if ( !defined( 'AFFILIATES_CORE_LIB' ) ) {
define( 'AFFILIATES_CORE_LIB', AFFILIATES_CORE_DIR . '/lib/core' );
}
if ( !defined( 'AFFILIATES_CORE_URL' ) ) {
define( 'AFFILIATES_CORE_URL', WP_PLUGIN_URL . '/affiliates' );
}
if ( !defined( 'AFFILIATES_WPML' ) ) {
define( 'AFFILIATES_WPML', true );
}
require_once AFFILIATES_CORE_LIB . '/constants.php';
require_once AFFILIATES_CORE_LIB . '/wp-init.php';
}