Green’s Dictionary of Slang

what the Hampton Court...? phr.

[euph., via the initial ‘h’, for what the hell...? phr.]

an excl. of surprise, shock, alarm or resignation etc.

[UK]Sporting Times 15 Feb. 1/2: What the Hampton Court is the use of speaking French to them when they don’t even understand plain English?