Garlic and onions contain sulfur which turns on one of the two detoxification pathways called the sulfation pathway. I used a lot of garlic and onions when I cooked for my son. He was 18 months old at the time so I cooked with garlic whenever possible. I used fresh garlic in tomato sauce, tacos and fried rice. The tacos and fried rice also included onions which are also high in sulfur. Garlic is also a natural antibiotic and antimicrobial food so it also helped discourage yeast. Epsom salts also contain sulfate which the body needs for sulfation so epsom salt baths can also turn on this detoxification pathway.
Another food I used to help him was coconut oil which has antimicrobial and antibacterial properties. You might think that it has a strong flavor, but if you put a little garlic in it when you begin cooking savory foods, you don't taste the coconut flavor. For sweet baked items it works very well and you don't notice the taste and it helps to prevent the yeast from proliferating. Because yeast grows in the presence of sugar I make sure to use coconut oil in baking to offset the growth of yeast.