A former Hearts midfielder made a landmark appearance for English Premier League club West Ham United on Monday night.