Initial commit: Atomaste website

This commit is contained in:
2025-12-10 12:17:30 -05:00
commit 0b9e5d1605
19260 changed files with 5206382 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace Hostinger\EasyOnboarding;
use WP_CLI;
use Hostinger\EasyOnboarding\Cli\Commands\OnboardingStatus;
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' ) && class_exists( OnboardingStatus::class ) ) {
WP_CLI::add_hook( 'after_wp_load', array(
OnboardingStatus::class,
'define_command'
) );
}
}
}