Yeah, I have heard that for both men and women, but I don't believe it either way. Just me though. Onions, garlic and strong things like that I think affect body odor, breath and such, but as far as changing the taste of your "fluids" I don't really think so.
It may work for men, I really don't know as I have never/would never taste cum, but I don't think it works for women.