'off', 'atvm_disable_frontend' => 'off', 'atvm_hide_all_users' => 'off', 'atvm_hide_all_guests' => 'off', 'atvm_adminbar_position' => 'top', 'atvm_bg_type' => 'color', 'atvm_bg_color' => '#1d2327', 'atvm_text_color' => '#f0f0f1', 'atvm_dropdown_style' => 'default', 'atvm_new_button_color' => '#72aee6', 'atvm_auto_save' => 'off', 'atvm_custom_logo' => '', 'atvm_custom_logo_url' => home_url() ); foreach ($defaults as $key => $value) { if (!get_option($key)) { update_option($key, $value); } } // Default role settings $roles = ['subscriber', 'contributor', 'author', 'editor', 'administrator']; foreach ($roles as $role) { if (!get_option("atvm_hide_toolbar_{$role}")) { update_option("atvm_hide_toolbar_{$role}", 'off'); } } } }