President Trump says he’s holding up hundreds of millions of dollars in aid to the Palestinians because they “disrespected” the United States by snubbing Vice President Mike Pence during his swing through the Middle East.

“When they disrespected us a week ago by not allowing our great vice president to see them, and we give them hundreds of millions of dollars in aid and support . . . that money is on the table and that money is not going to them unless they sit down and negotiate peace,” Trump said during a meeting Thursday with Israeli Prime Minister Benjamin Netanyahu at the World Economic Forum in Davos, Switzerland.

Trump dismissed Palestinian anger over his decision in December to recognize Jerusalem as the capital of Israel.

“The hardest subject they had to talk about was Jerusalem,” the president said.

“We took Jerusalem off the table so we don’t have to talk about it anymore. But they never got past Jerusalem.”

He warned the Palestinian Authority to be a full partner in the peace process “or we’re going to have nothing to do with it any longer.”

But Palestinian leaders said there’s no basis for talks now.

“If Jerusalem is off the table, then America is off the table as well,” PA spokesman Nabil Abu Rudeineh told CNN.

Palestinian President Mahmoud Abbas refused to sit down with Pence during his visit earlier this week to Israel, due to Trump’s recognition of Jerusalem and plan to relocate the US Embassy there from Tel Aviv.

Christian and other Muslim leaders also snubbed the veep.

The US said earlier this month it would withhold $65 million of $125 million it had planned to send to the UN agency that helps Palestinian refugees.

The agency is funded almost entirely by voluntary contributions from UN members, and the US is the largest contributor.

Shortly before he put the Palestinians on notice, Trump mended fences with British Prime Minister Theresa May.

He praised the “great relationship” the allies have and pledged to always have Britain’s back.

“We are very much joined at the hip when it comes to the military,” Trump said. “We have the same ideas, the same ideals, and there’s nothing that would happen to you that we won’t be there to fight for you.”

“We’re on the same wavelength I think in every respect,” he said, dispelling “false rumors” he and May have a rocky relationship.

“The prime minister and myself have had a really great relationship, although some people don’t necessarily believe that,” he said.

May said the two longtime allies have a “special relationship” and are standing “shoulder-to-shoulder” to take on the world’s challenges.

She was the first world leader to visit Trump in the White House after his inauguration and invited the president to England.

But their relationship turned chilly when Trump retweeted controversial videos that had been posted on a far-right British group’s account and purported to show violence committed by Muslims who had emigrated to the US.

After their meeting, Trump and May asked aides to work out details for a Trump visit later this year.

Trump also said that he ultimately wants the US dollar to be strong, lifting the greenback and contradicting comments made by Treasury Secretary Steven Mnuchin a day earlier.

Mnuchin later played down his comments that a weaker dollar was “good for us as it relates to trade and opportunities,” saying they had been “balanced and consistent.”

With Wires