PluginProbe
WP Synchro – The Ultimate WordPress Migration Tool / trunk
WP Synchro – The Ultimate WordPress Migration Tool vtrunk
1.16.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.10.0 1.11.0 1.11.1 1.11.2 1.11.3 1.11.4 1.11.5 1.12.0 1.13.0 1.14.0 1.15.0 1.2.0 1.3.0 1.3.1 1.3.2 1.4.0 All 44 releases
wpsynchro / wpsynchro.php

wpsynchro.php in WP Synchro – The Ultimate WordPress Migration Tool trunk, at wpsynchro.php

75 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: WP Synchro FREE
4 Plugin URI: https://daev.tech/wpsynchro
5 Description: Professional migration plugin for WordPress - Migration of database and files made easy
6 Version: 1.16.0
7 Author: DAEV.tech
8 Author URI: https://daev.tech
9 Domain Path: /languages
10 Text Domain: wpsynchro
11 License: GPLv3
12 License URI: http://www.gnu.org/licenses/gpl-3.0
13 Update URI: https://wordpress.org/plugins/wpsynchro/
14 */
15
16 /**
17 * Copyright (C) 2018 DAEV (email: support@daev.tech)
18 *
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version 2
22 * of the License, or (at your option) any later version.
23 *
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
28 *
29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32 */
33 if (!defined('ABSPATH')) {
34 exit;
35 } // Exit if accessed directly
36
37 define('WPSYNCHRO_VERSION', '1.16.0');
38 define('WPSYNCHRO_DB_VERSION', '10');
39 define('WPSYNCHRO_NEWEST_MU_COMPATIBILITY_VERSION', '1.0.5');
40
41 // Load composer autoloader
42 require_once dirname(__FILE__) . '/vendor/autoload.php';
43
44 /**
45 * On plugin activation
46 */
47 function wpsynchroActivation(bool $networkwide)
48 {
49 \WPSynchro\Utilities\Activation::activate($networkwide);
50 }
51 register_activation_hook(__FILE__, 'wpsynchroActivation');
52
53 /**
54 * On plugin deactivation
55 */
56 function wpsynchroDeactivation()
57 {
58 \WPSynchro\Utilities\Activation::deactivate();
59 }
60 register_deactivation_hook(__FILE__, 'wpsynchroDeactivation');
61
62 /**
63 * On plugin uninstall
64 */
65 function wpsynchroUninstall()
66 {
67 \WPSynchro\Utilities\Activation::uninstall();
68 }
69 register_uninstall_hook(__FILE__, 'wpsynchroUninstall');
70
71 /**
72 * Run WP Synchro
73 */
74 (new \WPSynchro\WPSynchroBootstrap())->run();
75