Meanwhile, West Ham are set to release four long-serving players when their contracts expire.
Lukasz Fabianski, Aaron Cresswell, Vladimir Coufal and Danny Ings will leave the London Stadium at the end of the season.
Left-back Cresswell, 35, has been with West Ham 11 seasons, and holds a record for the longest unbroken stint as a top-flight player with the club.
Goalkeeper Fabianski 40, right-back Coufal and striker Ings, both 32, were all members of the squad which won the Uefa Conference League in 2023.
“Aaron, Lukasz, Vladimir and Danny have been a pleasure to work with in my time here so far,” Potter added.
“They are all brilliant professionals on and off the pitch, with fantastic experience in the Premier League, and clearly loved and admired by their team-mates and everyone here at the club.
“We felt it was important to confirm this news now, out of respect for them and the service they have given to the club, and to allow our supporters to show their appreciation at our final home match of the season.”
The Hammers visit Manchester United on Sunday (14:15 BST), with their final home match against Nottingham Forest on Sunday, 18 May.