<?php
/**
 * Plugin Name: WizHosting Migrator
 * Description: Migra tu WordPress a un servidor cPanel (archivos + base de datos) usando solo host/usuario/clave de cPanel. | Migrate your WordPress to a cPanel server (files + DB) using only host/username/password.
 * Version: 0.3.2
 * Author: WizHosting
 * Text Domain: wizhosting-migrator
 * Domain Path: /languages
 */
if (!defined('ABSPATH')) exit;
define('WIZMIG_VER', '0.3.2');
define('WIZMIG_SLUG', 'wizhosting-migrator');
define('WIZMIG_DIR', plugin_dir_path(__FILE__));
define('WIZMIG_URL', plugin_dir_url(__FILE__));
require_once WIZMIG_DIR . 'includes/class-wizmig-admin.php';
require_once WIZMIG_DIR . 'includes/class-wizmig-cpanel.php';
require_once WIZMIG_DIR . 'includes/class-wizmig-packager.php';
require_once WIZMIG_DIR . 'includes/class-wizmig-dbdump.php';
class WizMig {
  public function __construct() {
    add_action('plugins_loaded', [$this, 'i18n']);
    new WizMig_Admin();
  }
  public function i18n() {
    load_plugin_textdomain('wizhosting-migrator', false, dirname(plugin_basename(__FILE__)) . '/languages/');
  }
}
new WizMig();
