REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 4.33 KB
Close
/home/certprox/template.certproxywizard.com/wp-content/plugins/hostinger/hostinger.php
Text
Base64
<?php /** * Plugin Name: Hostinger Tools * Plugin URI: https://hostinger.com * Description: Hostinger WordPress plugin. * Version: 3.0.67 * Requires at least: 5.5 * Tested up to: 6.9 * Requires PHP: 8.1 * Author: Hostinger * License: GPL v3 * License URI: https://www.gnu.org/licenses/gpl-3.0.html * Author URI: https://www.hostinger.com * Text Domain: hostinger * Domain Path: /languages * * @package Hostinger */ use Hostinger\Hostinger; use Hostinger\Activator; use Hostinger\Deactivator; use Hostinger\WpMenuManager\Manager; defined( 'ABSPATH' ) || exit; define( 'HOSTINGER_WORDPRESS_PLUGIN_VERSION', '3.0.67' ); if ( ! defined( 'HOSTINGER_ABSPATH' ) ) { define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) ); } if ( ! defined( 'HOSTINGER_PLUGIN_FILE' ) ) { define( 'HOSTINGER_PLUGIN_FILE', __FILE__ ); } if ( ! defined( 'HOSTINGER_PLUGIN_URL' ) ) { define( 'HOSTINGER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); } if ( ! defined( 'HOSTINGER_ASSETS_URL' ) ) { define( 'HOSTINGER_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'assets/' ); } if ( ! defined( 'HOSTINGER_VUE_ASSETS_URL' ) ) { define( 'HOSTINGER_VUE_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'vue-frontend/dist' ); } if ( ! defined( 'HOSTINGER_WP_CONFIG_PATH' ) ) { define( 'HOSTINGER_WP_CONFIG_PATH', ABSPATH . '.private/config.json' ); } if ( ! defined( 'HOSTINGER_WP_TOKEN' ) ) { $hostinger_dir_parts = explode( '/', __DIR__ ); $hostinger_server_root_path = '/' . $hostinger_dir_parts[1] . '/' . $hostinger_dir_parts[2]; define( 'HOSTINGER_WP_TOKEN', $hostinger_server_root_path . '/.api_token' ); } if ( ! defined( 'HOSTINGER_REST_URI' ) ) { define( 'HOSTINGER_REST_URI', 'https://rest-hosting.hostinger.com' ); } if ( ! defined( 'HOSTINGER_PLUGIN_SETTINGS_OPTION' ) ) { define( 'HOSTINGER_PLUGIN_SETTINGS_OPTION', 'hostinger_tools' ); } if ( ! defined( 'HOSTINGER_PLUGIN_REST_API_BASE' ) ) { define( 'HOSTINGER_PLUGIN_REST_API_BASE', 'hostinger-tools-plugin/v1' ); } if ( ! defined( 'HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION' ) ) { define( 'HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION', '8.1' ); } if ( ! version_compare( phpversion(), HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION, '>=' ) ) { add_action( 'admin_notices', function () { ?> <div class="notice notice-error is-dismissible hts-theme-settings"> <p> <?php /* translators: %s: PHP version */ ?> <strong><?php echo esc_html__( 'Attention:', 'hostinger' ); ?></strong> <?php printf( wp_kses( 'The Hostinger plugin requires minimum PHP version of <b>%s</b>.', 'hostinger' ), esc_html( HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION ) ); ?> </p> <p> <?php /* translators: %s: PHP version */ ?> <?php printf( wp_kses( 'You are running <b>%s</b> PHP version.', 'hostinger' ), esc_html( phpversion() ) ); ?> </p> </div> <?php } ); return; } $vendor_file = __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload_packages.php'; if ( file_exists( $vendor_file ) ) { require_once $vendor_file; } else { return; } // Action Scheduler should be loaded before plugins_loaded hook. $action_scheduler = __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'woocommerce' . DIRECTORY_SEPARATOR . 'action-scheduler' . DIRECTORY_SEPARATOR . 'action-scheduler.php'; if ( file_exists( $action_scheduler ) ) { require_once $action_scheduler; } /** * Plugin activation hook. */ function hostinger_activate(): void { Activator::activate(); } /** * Plugin deactivation hook. */ function hostinger_deactivate(): void { Deactivator::deactivate(); } register_activation_hook( __FILE__, 'hostinger_activate' ); register_deactivation_hook( __FILE__, 'hostinger_deactivate' ); if ( ! function_exists( 'hostinger_load_menus' ) ) { function hostinger_load_menus(): void { $manager = Manager::getInstance(); $manager->boot(); } } if ( ! has_action( 'plugins_loaded', 'hostinger_load_menus' ) ) { add_action( 'plugins_loaded', 'hostinger_load_menus' ); } function load_plugin() { if ( class_exists( 'Hostinger\Hostinger' ) ) { $hostinger = new Hostinger(); $hostinger->run(); } } add_action( 'plugins_loaded', 'load_plugin' );
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 6 × Files: 9
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
assets
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
includes
DIR
-
drwxr-xr-x
2026-06-14 00:11:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
languages
DIR
-
drwxr-xr-x
2026-06-14 00:11:48
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
src
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vendor
DIR
-
drwxr-xr-x
2026-06-14 00:11:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vue-frontend
DIR
-
drwxr-xr-x
2026-06-14 00:11:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
changelog.md
8.74 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
changelog.txt
8.79 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
composer.json
1.33 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hostinger.php
4.33 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.php
33 B
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
3.30 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
readme.txt
13.03 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
uninstall.php
49 B
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
webpack.config.js
1.80 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).