After the 1844 Poor Law Amendment Act was passed, the mother could apply for a maintenance order before the child was born, or up to 12 months afterwards.
The mother could also apply later if she could prove to the court that the father had already paid something towards the child's maintenance during the first year.
(Source: Ruth Paley, My Ancestor was a Bastard, 2004)