The court may grant an order pursuant to § 15-9-7 in an action for divorce, a decree annulling a marriage, a child custody action, or an action to establish paternity.

Source: SDC 1939 & Supp 1960, § 33.0812 (6); SL 2017, ch 90, § 1.