How to set the views exposed filters default value programmatically?
function example_views_pre_build(&amp;$view) {
    if ($view-&gt;name == 'VIEW_NAME') {
        $view-&gt;display[$view-&gt;current_display]-&gt;handler-&gt;handlers['filter']['field_country_tid']-&gt;value = array(55, 91);
    }
}


This code worked for me. Check your views module version as well. I am using Views 7.x-3.14.