views filter's identifier I'm using drupal 7.  

I want to use $view-&gt;set_exposed_input(array('filter_identifier' =&gt; 'filter_value'));

How to know the filter identifier?
When you create the view exposed filter you can give it a name. You use the default name it gives you, or whatever you choose it to be. See attached image.