| 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 <[email protected]> |
| 8 |
* Version: 2.7.5 |
| 9 |
* Author URI: https://www.importwp.com |
| 10 |
* Network: True |
| 11 |
*/ |
| 12 |
|
| 13 |
$iwp_base_path = dirname(__FILE__); |
| 14 |
|
| 15 |
if (!defined('IWP_VERSION')) { |
| 16 |
define('IWP_VERSION', '2.7.5'); |
| 17 |
} |
| 18 |
|
| 19 |
if (!defined('IWP_MINIMUM_PHP_VERSION')) { |
| 20 |
define('IWP_MINIMUM_PHP_VERSION', '5.4'); |
| 21 |
} |
| 22 |
|
| 23 |
if (!defined('IWP_POST_TYPE')) { |
| 24 |
define('IWP_POST_TYPE', 'iwp-importer'); |
| 25 |
} |
| 26 |
|
| 27 |
if (!defined('EWP_POST_TYPE')) { |
| 28 |
define('EWP_POST_TYPE', 'iwp-exporter'); |
| 29 |
} |
| 30 |
|
| 31 |
if (!defined('IWP_CORE_MIN_PRO_VERSION')) { |
| 32 |
define('IWP_CORE_MIN_PRO_VERSION', '2.6.0'); |
| 33 |
} |
| 34 |
|
| 35 |
if (version_compare(PHP_VERSION, IWP_MINIMUM_PHP_VERSION, '>=')) { |
| 36 |
require_once $iwp_base_path . '/class/autoload.php'; |
| 37 |
require_once $iwp_base_path . '/setup-iwp.php'; |
| 38 |
require_once $iwp_base_path . '/functions.php'; |
| 39 |
} |
| 40 |
|