[ 'email' => 'E-Mail an Administrator' ], ]; if(!isset($options[$settingName])) { return; } $setting = $options[$settingName]; foreach ($setting as $radioOption => $optionText) { $isChecked = in_array($radioOption, $currentSetting) ? 'checked ' : '' ; echo '' . '
'; } }