forked from importwp/importwp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jc-importer.php
47 lines (37 loc) · 1.2 KB
/
jc-importer.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
<?php
/**
* Plugin Name: Import WP
* Plugin URI: https://www.importwp.com
* Description: Import WP is a powerful Importer & Exporter with a visual data selection tool that makes it easy to Export or Import any XML or CSV file to WordPress.
* Author: James Collings <[email protected]>
* Version: 2.11.5
* Author URI: https://www.importwp.com
* Network: True
* Text Domain: jc-importer
* Domain Path: /languages
*/
$iwp_base_path = dirname(__FILE__);
if (!defined('IWP_VERSION')) {
define('IWP_VERSION', '2.11.5');
}
if (!defined('IWP_MINIMUM_PHP_VERSION')) {
define('IWP_MINIMUM_PHP_VERSION', '5.4');
}
if (!defined('IWP_POST_TYPE')) {
define('IWP_POST_TYPE', 'iwp-importer');
}
if (!defined('EWP_POST_TYPE')) {
define('EWP_POST_TYPE', 'iwp-exporter');
}
if (!defined('IWP_CORE_MIN_PRO_VERSION')) {
define('IWP_CORE_MIN_PRO_VERSION', '2.6.0');
}
if (!defined('IWP_DEBUG')) {
define('IWP_DEBUG', false);
}
if (version_compare(PHP_VERSION, IWP_MINIMUM_PHP_VERSION, '>=')) {
require_once $iwp_base_path . '/class/autoload.php';
require_once $iwp_base_path . '/setup-iwp.php';
require_once $iwp_base_path . '/functions.php';
}
register_deactivation_hook(__FILE__, 'iwp_register_muplugin_uninstall');