function plt_hide_geoip_detect_menus() {
//Hide the "Tools → Geolocation Lookup" menu.
remove_submenu_page('tools.php', 'geoip-detect/geoip-detect.php');
//Hide the "Settings → Geolocation IP Detection" menu.
remove_submenu_page('options-general.php', 'geoip-detect/geoip-detect.php');
}
add_action('admin_menu', 'plt_hide_geoip_detect_menus', 11);