Hide the users icon in administration menu

I'm a huge fan of Administration menu, even more than projects like admin, toolbar or possibly others out there. If you want to delete some items from the menu, you need to implement hook_menu_link_alter() and reset the $item. Following snippets removes the users icon which shows the number of anonymous and authenticated users. Simple and powerfull.

* Implementation of hook_menu_link_alter().
function swentel_menu_link_alter(&$item, $menu) {
  if (
$item['title'] == 'icon_users') {
$item = NULL;

You are here