How to hide an option from dropdown in filter module

Nevermind. I applied this custom js to hide that specific taxonomy in the dropdown. <script> jQuery(function($){ var arr=[‘name-of-slug-to-hide’]; $(‘select[name=”wpv-category”] option’).each(function(){ if(jQuery.inArray($(this).val(), arr)>=0){ $(this).hide(); } }); }) </script>