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/includes/DefaultOptions.php
<?php

namespace Hostinger\EasyOnboarding;

use Hostinger\EasyOnboarding\Helper;

defined( 'ABSPATH' ) || exit;

class DefaultOptions {
    public function add_options(): void {
        foreach ( $this->options() as $key => $option ) {
            update_option( $key, $option );
        }
    }

    private function options(): array {
        $options = array(
            'optin_monster_api_activation_redirect_disabled' => 'true',
            'wpforms_activation_redirect'                    => 'true',
            'aioseo_activation_redirect'                     => 'false',
        );

        if ( Helper::is_plugin_active( 'astra-sites' ) ) {
            $options = array_merge( $options, $this->get_astra_options() );
        }

        return $options;
    }

    private function get_astra_options(): array {
        return array(
            'astra_sites_settings' => 'gutenberg',
        );
    }
}