| 1 |
<?php |
| 2 |
// Exit if accessed directly |
| 3 |
if ( !defined( 'ABSPATH' ) ) exit; |
| 4 |
/* |
| 5 |
Plugin Name: ThemeMiles Toolset |
| 6 |
Description: Import ThemeMiles official Themes Demo Content, widgets and theme settings with just one click. |
| 7 |
Version: 1.1.3 |
| 8 |
Author: ThemeMiles |
| 9 |
Author URI: http://www.thememiles.com |
| 10 |
License: GPLv2 or later |
| 11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 12 |
Domain Path: /languages |
| 13 |
Text Domain: thememiles-toolset |
| 14 |
*/ |
| 15 |
|
| 16 |
/** |
| 17 |
* The core plugin class that is used to define internationalization, |
| 18 |
* admin-specific hooks, and public-facing site hooks. |
| 19 |
*/ |
| 20 |
define( 'THEMEMILES_TOOLSET_PATH', plugin_dir_path( __FILE__ ) ); |
| 21 |
define( 'THEMEMILES_TOOLSET_PLUGIN_NAME', 'thememiles-toolset' ); |
| 22 |
define( 'THEMEMILES_TOOLSET_VERSION', '1.1.2' ); |
| 23 |
define( 'THEMEMILES_TOOLSET_URL', plugin_dir_url( __FILE__ ) ); |
| 24 |
define( 'THEMEMILES_TOOLSET_TEMPLATE_URL', THEMEMILES_TOOLSET_URL.'inc/demo/' ); |
| 25 |
|
| 26 |
require THEMEMILES_TOOLSET_PATH . 'inc/init.php'; |
| 27 |
|
| 28 |
/** |
| 29 |
* Begins execution of the plugin. |
| 30 |
* |
| 31 |
* Since everything within the plugin is registered via hooks, |
| 32 |
* then kicking off the plugin from this point in the file does |
| 33 |
* not affect the page life cycle. |
| 34 |
* |
| 35 |
* @since 1.0.0 |
| 36 |
*/ |
| 37 |
if( !function_exists( 'run_thememiles_toolset')){ |
| 38 |
|
| 39 |
function run_thememiles_toolset() { |
| 40 |
|
| 41 |
return Thememiles_Toolset::instance(); |
| 42 |
} |
| 43 |
run_thememiles_toolset()->run(); |
| 44 |
} |
| 45 |
|
| 46 |
|
| 47 |
|