"A blessing given by the Church to mothers after recovery from childbirth. Only a Catholic woman who has given birth to a child in legitimate wedlock, provided she has not allowed the child to be baptized outside the Catholic Church, is entitled to it. It is not a precept, but a pious and praiseworthy custom (Rituale Romanum), dating from the early Christian ages, for a mother to present herself in the Church as soon as she is able to leave her house (St. Charles Borromeo, First Council of Milan), to render thanks to God for her happy delivery, and to obtain by means of the priestly blessing the graces necessary to bring up her child in a Christian manner. The prayers indicate that this blessing is intended solely for the benefit of the mother, and hence it is not necessary that she should bring the child with her; nevertheless, in many places the pious and edifying custom prevails of specially dedicating the child to God. For, as the Mother of Christ carried her Child to the Temple to offer Him to the Eternal Father, so a Christian mother is anxious to present her offspring to God and obtain for it the blessing of the Church. This blessing, in the ordinary form, without change or omission, is to be given to the mother, even if her child was stillborn, or has died without baptism (Cong. Sac. Rit., 19 May, 1896).
Read more here: http://www.zenit.org/article-33156?l=english