HEX
Server: LiteSpeed
System: Linux ca901-cp.fmhospeda.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
User: sagplay (1035)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home3/sagplay/public_html/wp-content/plugins/hostinger/includes/class-hostinger-cli.php
<?php

defined( 'ABSPATH' ) || exit;

class Hostinger_CLI {
	/**
	 * Load required files and hooks to make the CLI work.
	 */
	public function __construct() {
		$this->includes();
		$this->hooks();
	}

	public function includes(): void {
		require_once HOSTINGER_ABSPATH . 'includes/cli/class-hostinger-maintenance-command.php';
	}

	/**
	 * Sets up and hooks WP CLI to our CLI code.
	 */
	private function hooks(): void {
		WP_CLI::add_hook( 'after_wp_load', 'Hostinger_Maintenance_Command::define_command' );
	}
}

new Hostinger_CLI();