Views exposed filter hide if less then 10 items
Add this to your theme's template.php file:

function THEME_views_pre_render(&amp;$view){
  if ($view-&gt;name == 'VIEWNAME' &amp;&amp; $view-&gt;current_display == 'DISPLAYID' &amp;&amp; $view-&gt;total_rows &lt;= 10) {
    $view-&gt;exposed_widgets = '';
  }
}


This will remove all of the exposed filters. If you have more than one and you only want to remove a single exposed filter, you will have to parse that filter out of the $view-&gt;exposed_widgets html string.