関数
SettingsPage::enableItemCSVSection()
戻り値 戻り値
ファイル: src/Admin/Pages/SettingsPage.php
public static function enableItemCSVSection() { $opts = self::getOptions(); ?> <tr> <th scope="row"><?php esc_html_e('Item CSV export/import', 'wcexics'); ?></th> <td> <fieldset> <label> <input name="<?php echo self::ENABLE_ITEMCSV_OPT; ?>" type="radio" value="yes" <?php echo $opts[self::ENABLE_ITEMCSV_OPT] === 'yes' ? 'checked' : ''; ?> /> <?php esc_html_e('Enabled') ?> </label> <br /> <label> <input name="<?php echo self::ENABLE_ITEMCSV_OPT; ?>" type="radio" value="no" <?php echo $opts[self::ENABLE_ITEMCSV_OPT] === 'no' ? 'checked' : ''; ?> /> <?php esc_html_e('Disabled') ?> </label> </fieldset> <p class="description"> <?php _e('If enabled, importing requires certain columns to be present in the CSV file.', 'wcexics'); ?> </p> </td> </tr> <?php }