PluginProbe
Hostinger Tools / 2.1.2
Hostinger Tools v2.1.2
3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.4 All 108 releases
← All changes | hostinger.php +7 -3 1.9.72.1.2 View file →
@@ -2,10 +2,10 @@
2 2 /**
3 3 * Plugin Name: Hostinger
4 4 * Plugin URI: https://hostinger.com
5 5 * Description: Hostinger WordPress plugin.
6 - * Version: 1.9.7
7 - * Requires at least: 5.6
6 + * Version: 2.1.2
7 + * Requires at least: 5.5
8 8 * Requires PHP: 7.4
9 9 * Author: Hostinger
10 10 * License: GPL v3
11 11 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -18,9 +18,9 @@
18 18
19 19 defined( 'ABSPATH' ) || exit;
20 20
21 21 if ( ! defined( 'HOSTINGER_VERSION' ) ) {
22 - define( 'HOSTINGER_VERSION', '1.9.7' );
22 + define( 'HOSTINGER_VERSION', '2.1.2' );
23 23 }
24 24
25 25 if ( ! defined( 'HOSTINGER_ABSPATH' ) ) {
26 26 define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) );
@@ -52,8 +52,10 @@
52 52 define( 'HOSTINGER_REST_URI', 'https://rest-hosting.hostinger.com' );
53 53 }
54 54
55 55 /**
56 + * Plugin activation hook.
57 + *
56 58 * @return void
57 59 */
58 60 function hostinger_activate(): void {
59 61 require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-activator.php';
@@ -60,8 +62,10 @@
60 62 Hostinger_Activator::activate();
61 63 }
62 64
63 65 /**
66 + * Plugin dectivation hook.
67 + *
64 68 * @return void
65 69 */
66 70 function hostinger_deactivate(): void {
67 71 require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-deactivator.php';