The text is an idiomatic expression suggesting that cooking for a man is a good way to gain his affection. It does not play on different meanings of a word or similar-sounding words.
The way to a man ' s heart is through his stomach .