NEW YORK — The walk-off king did it again.

Wilmer Flores smashed a homer off the foul pole in left field in the 10th inning to give the Mets a 4-3 win over the Phillies in the first game of Monday’s doubleheader.

Flores thought he had been hit by a pitch earlier in the at-bat, but then kept a ball just fair down the line while tallying yet another walk-off hit.

Corey Oswalt starts the nightcap.

Flores has a knack for this

Flores has built a reputation on delivering walk-off hits, and it is trade season so it only makes sense that he would deliver.

Leading off the 10th as a pinch hitter, he pulled an offering from Victor Arano to give the Mets at worst a split of this doubleheader.

Flores’ homer ended a battle of the bullpens after both starters produced short outings.

Zack Wheeler produced a throwback start which meant lots of long counts in a short outing. The Phillies forced him to throw 102 pitches spanning 4 2/3 innings in his shortest start since May 16. He allowed seven hits while walking three.

A pair of two-out rallies in the first two innings allowed the Phillies to claim 1-0 and 2-1 leads, and Wheeler later allowed a solo blast to Maikel Franco in the fourth that evened the game at three. Seth Lugo relieved Wheeler with two on in the fifth in a tied game. 

Teams have inquired about Wheeler, and the Mets will have to determine whether they feels trading him will put the team in a better spot heading into 2019. Wheeler is a free agent after next season and is on his way to his first healthy season since 2014.

Wheeler struck out eight batters.

Lugo followed Wheeler by throwing 2 2/3 scoreless innings spanning 55 pitches, and has now thrown 119 pitches this month in three relief outings. The Mets believe he has more value as a reliever, but he’s being used more than a typical reliever.

He left a bases-loaded, one-out jam for Robert Gsellman in the eighth in a tied game, and Gsellman left the bases loaded

MORE: Mets will look to avoid being 20 games under .500 entering All-Star break

MORE: Despite injuries, Dominic Smith finding his NY Mets chances limited