here’s what i added to functions.php
add_filter('uwpqsf_tax_field_dropdown','custom_dropdown_output','',12);
function custom_dropdown_output($html,$type,$exc,$hide,$taxname,$taxlabel,$taxall,$opt,$c,$defaultclass,$formid,$divclass){
$args = array('hide_empty'=>$hide,'exclude'=>$eid );
$taxoargs = apply_filters('uwpqsf_taxonomy_arg',$args,$taxname,$formid);
$terms = get_terms($taxname,$taxoargs); $count = count($terms);
if($type == 'dropdown'){
$html = '<div class="'.$defaultclass.' '.$divclass.'" id="tax-select-'.$c.'"><span class="taxolabel-'.$c.'">'.$taxlabel.'</span>';
$html .= '<input type="hidden" name="taxo['.$c.'][name]" value="'.$taxname.'">';
$html .= '<input type="hidden" name="taxo['.$c.'][opt]" value="'.$opt.'">';
$html .= '<select id="tdp-'.$c.'" class="tdp-class-'.$c.'" name="taxo['.$c.'][term]">';
$html .= '<option selected value="">-</option>';
if(!empty($taxall)){
$html .= '<option selected value="uwpqsftaxoall">'.$taxall.'</option>';
}
if ( $count > 0 ){
foreach ( $terms as $term ) {
$selected = (isset($_GET['taxo'][$c]['term']) && $_GET['taxo'][$c]['term'] == $term->slug) ? 'selected="selected"' : '';
$html .= '<option value="'.$term->slug.'" '.$selected.'>'.$term->name.'</option>';
}
}
$html .= '</select>';
$html .= '</div>';
return apply_filters( 'custom_dropdown_output', $html,$type,$exc,$hide,$taxname,$taxlabel,$taxall,$opt,$c,$defaultclass,$formid,$divclass);
}
}
it’s the same output found in uwpqsf-front-class.php with the addition of the empty option.