Alternative exclamatory phrase / question for what the fuck or what the hell, primarily the latter. Mostly useful for when a substitute swear word is necessary, like around young kids and censor-minded folks, and other such phrases, like what the fudge are considered to be too close to what they're supposed to replace.

"What the hedge was that?" or "What the the hedge was going on back there?