help with feature list

#1

Hi need help with this it shows a feature list by highlighting the features that are selected. But the ones that are not selected I would like to hide

<?php foreach ($cs_feature_options as $feature_key => $feature) { if (isset($feature_key) && $feature_key <> '') { $counter_feature = $feature_id = $feature['feature_id'] ; $feature_title = $feature['feature_title']; $feature_slug = $feature['feature_slug']; $is_feature = 'icon-cross5'; if (is_array($featureList) && in_array($feature_slug, $featureList)) { $is_feature = 'icon-check-circle'; } ?>
                                    <li><i class="<?php echo sanitize_html_class($is_feature); ?>"></i><a><?php echo esc_attr($feature_title); ?></a></li>

                                    <?php

                                }

                            }

                            ?>