PluginProbe
Hostinger Tools / 1.8.2
Hostinger Tools v1.8.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
hostinger / includes / class-hostinger.php

class-hostinger.php in Hostinger Tools 1.8.2, at includes/class-hostinger.php

29 lines 566 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4
5 class Hostinger {
6 protected string $plugin_name = 'Hostinger';
7 protected string $version;
8
9 public function bootstrap(): void {
10 $this->version = $this->get_plugin_version();
11
12 require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-bootstrap.php';
13 $bootstrap = new Hostinger_Bootstrap();
14 $bootstrap->run();
15 }
16
17 public function run(): void {
18 $this->bootstrap();
19 }
20
21 private function get_plugin_version(): string {
22 if ( defined( 'HOSTINGER_VERSION' ) ) {
23 return HOSTINGER_VERSION;
24 }
25
26 return '1.0.0';
27 }
28 }
29