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