title: How to hide admin menu generate by plugins in wordpress
body: <p>Recently i have installed two plugins in my site. The plugins generate two admin menu. I wanna hide these menu. </p>
  
  <p>Menu name are : </p>
  
  <p><strong>WP Metaboxer</strong> Mouse hover link (mysite.com/wp-admin/edit.php?post_type=mtbxr_metabox)</p>
  
  <p><strong>BWS Plugins</strong> Mouse hover link (mysite.com/wp-admin/admin.php?page=bws_plugins)</p>
  
  <p>I can hide other default menu by these code</p>
  
  <pre><code>function remove_admin_menu_items() {
    $remove_menu_items = array(__('Media'),__('Links'), __('Comments'), __('Tools'), __('Appearance'), __('Posts'),__('Settings'),__('Plugins')));
    global $menu;
    end ($menu);
    while (prev($menu)){
      $item = explode(' ',$menu[key($menu)][0]);
      if(in_array($item[0] != NULL?$item[0]:"" , $remove_menu_items)){
        unset($menu[key($menu)]);}
      }
    }
  add_action('admin_menu', 'remove_admin_menu_items');
  </code></pre>