Hiding Exposed View Filter Form Elements

I have a task in which I need to create an exposed filter for a View and then set its value via code based on the value of another field. Here’s how to hide a View’s exposed filter form element, which is slightly different than how you do it for other forms.

 * Implements hook_form_FORM_ID_alter().
function MY_MODULE_form_views_exposed_form_alter(&$form, &$form_state, $form_id) {

  switch ($form_state['view']->name) {

    // Admin content list

      $form['MY_EXPOSED_FILTER_FIELD']['#access'] = FALSE; // This is the normal way
      $form['#info']['MY_EXPOSED_FILTER_FIELD']['label'] = NULL; // This hides the label