HEX
Server: LiteSpeed
System: Linux lt-bnk-web1368.main-hosting.eu 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
User: u362014288 (362014288)
PHP: 8.2.30
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //proc/thread-self/cwd/wp-content/plugins/hostinger-easy-onboarding/loader.php
<?php
use Hostinger\EasyOnboarding\EasyOnboarding;
use Hostinger\EasyOnboarding\Activator;
use Hostinger\EasyOnboarding\Deactivator;
use Hostinger\WpMenuManager\Manager;
use Hostinger\Surveys\Loader;
use Hostinger\Amplitude\AmplitudeLoader;

$vendor_file = __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload_packages.php';

if ( file_exists( $vendor_file ) ) {
    require_once $vendor_file;
} else {
    return;
}

/**
 * Plugin activation hook.
 */
function hostinger_easy_onboarding_activate(): void {
    Activator::activate();
}

/**
 * Plugin deactivation hook.
 */
function hostinger_easy_onboarding_deactivate(): void {
    Deactivator::deactivate();
}

if ( ! function_exists( 'hostinger_load_menus' ) ) {
    function hostinger_load_menus(): void {
        $manager = Manager::getInstance();
        $manager->boot();
    }
}
if ( ! function_exists( 'hostinger_add_surveys' ) ) {
    function hostinger_add_surveys(): void {
        $surveys = Loader::getInstance();
        $surveys->boot();
    }
}

if ( ! function_exists( 'hostinger_load_amplitude' ) ) {
    function hostinger_load_amplitude(): void {
        $amplitude = AmplitudeLoader::getInstance();
        $amplitude->boot();
    }
}

if ( ! has_action( 'plugins_loaded', 'hostinger_load_menus' ) ) {
    add_action( 'plugins_loaded', 'hostinger_load_menus' );
}
if ( ! has_action( 'plugins_loaded', 'hostinger_add_surveys' ) ) {
    add_action( 'plugins_loaded', 'hostinger_add_surveys' );
}

if ( ! has_action( 'plugins_loaded', 'hostinger_load_amplitude' ) ) {
    add_action( 'plugins_loaded', 'hostinger_load_amplitude' );
}

register_activation_hook( HOSTINGER_EASY_ONBOARDING_PLUGIN_FILE, 'hostinger_easy_onboarding_activate' );
register_deactivation_hook( HOSTINGER_EASY_ONBOARDING_PLUGIN_FILE, 'hostinger_easy_onboarding_deactivate' );


$hostinger_easy_onboarding = new EasyOnboarding();
$hostinger_easy_onboarding->run();