<?php
add_filter('gettext', 'rename_admin_menu_items');
add_filter('ngettext', 'rename_admin_menu_items');
/**
* Replaces wp-admin menu item names
*
* @author Daan Kortenbach
*
* @param array $menu The menu array.
*
* @return $menu Menu array with replaced items.
*/
function rename_admin_menu_items( $menu ) {
// $menu = str_ireplace( 'original name', 'new name', $menu );
$menu = str_ireplace( 'Dashboard', 'Home', $menu );
// return $menu array
return $menu;
}