All pregnant women are recommended to have the influenza vaccine during their pregnancy. Some of the antibodies that your body makes in response to the vaccine pass to your baby during your pregnancy, and this helps protect your baby from influenza in the crucial first few months of life before they can receive the vaccine themselves.
Unfortunately, this protection does not last beyond six months of age. This is why the influenza vaccine is recommended and now funded for all children from six months of age.