| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Plugin Name: Import WP |
| 5 |
* Plugin URI: https://www.importwp.com |
| 6 |
* 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. |
| 7 |
* Author: James Collings <james@jclabs.co.uk> |
| 8 |
* Version: 2.14.24 |
| 9 |
* Author URI: https://www.importwp.com |
| 10 |
* Network: True |
| 11 |
* Text Domain: jc-importer |
| 12 |
* Domain Path: /languages |
| 13 |
*/ |
| 14 |
|
| 15 |
$iwp_base_path = dirname(__FILE__); |
| 16 |
|
| 17 |
if (!defined('IWP_VERSION')) { |
| 18 |
define('IWP_VERSION', '2.14.24'); |
| 19 |
} |
| 20 |
|
| 21 |
if (!defined('IWP_MINIMUM_PHP_VERSION')) { |
| 22 |
define('IWP_MINIMUM_PHP_VERSION', '5.4'); |
| 23 |
} |
| 24 |
|
| 25 |
if (!defined('IWP_POST_TYPE')) { |
| 26 |
define('IWP_POST_TYPE', 'iwp-importer'); |
| 27 |
} |
| 28 |
|
| 29 |
if (!defined('EWP_POST_TYPE')) { |
| 30 |
define('EWP_POST_TYPE', 'iwp-exporter'); |
| 31 |
} |
| 32 |
|
| 33 |
if (!defined('IWP_CORE_MIN_PRO_VERSION')) { |
| 34 |
define('IWP_CORE_MIN_PRO_VERSION', '2.6.0'); |
| 35 |
} |
| 36 |
|
| 37 |
if (!defined('IWP_DEBUG')) { |
| 38 |
define('IWP_DEBUG', false); |
| 39 |
} |
| 40 |
|
| 41 |
if (version_compare(PHP_VERSION, IWP_MINIMUM_PHP_VERSION, '>=')) { |
| 42 |
require_once $iwp_base_path . '/class/autoload.php'; |
| 43 |
require_once $iwp_base_path . '/setup-iwp.php'; |
| 44 |
require_once $iwp_base_path . '/functions.php'; |
| 45 |
} |
| 46 |
|
| 47 |
register_deactivation_hook(__FILE__, 'iwp_register_muplugin_uninstall'); |
| 48 |
|