The Hammers skipper scored the first and last goals in a 3-2 win after Wanderers had come from behind to lead.
Substitute Jamal Lowe scored in the 70th minute.
More from us
Did you know you can manage your profile, and explore all of the available newsletters from Ireland Live within your account.