"I threw away my golf shoes when I got a hole in one," e.g (3)
I believe the answer is:
pun
(Other definitions for pun that I've seen before include "A play on words - not the height of wit" , "Form of wordplay" , "Humorous wordplay" , "A play on words, may be funny" , "A play on words, not really wit" .)