§49-7-12. Custody of child by convicted person.
If the guilty person had custody of the child prior to conviction, the court or judge may, on suspending sentence, permit the child to remain in the custody of the person, and make it a condition of suspending sentence that the person provides whatever treatment and care may be required for the welfare of the child, and shall do whatever may be calculated to secure obedience to the law or to remove the cause of such delinquency.