?> </h3> <table class="form-table"> <tbody> <tr valign="top" class="email_type_tr hideable"> <th scope="row" style="width:250px;" class="email_type_th"> <label for="email_type"><?php _e('Email Type:', 'wc_followup_emails'); ?> </label> </th> <td class="email_type_td"> <select name="email_type" id="email_type" class="email_type_select hideable"> <?php $types = SFN_FollowUpEmails::get_email_types(); foreach ($types as $key => $value) { $selected = $defaults['type'] == $key ? 'selected' : ''; ?> <option class="email_type_option email_type_option_<?php echo $key; ?> " value="<?php echo esc_attr($key); ?> " <?php echo $selected; ?> ><?php echo $value; ?>