Midfielder Gary O'Neil has agreed a new contract with West Ham. Terms have now been agreed, and O'Neil has passed a medical examination.

The 30-year-old was bought from Middlesbrough in the 2011 January transfer window.