Okla. Stat. tit. 22, § 60.17
The court shall consider the safety of any and all alleged victims of domestic violence, stalking, harassment, sexual assault, or forcible sodomy where the defendant is alleged to have violated a protective order, committed domestic assault and battery, stalked, sexually assaulted, or forcibly sodomized the alleged victim or victims prior to the release of the alleged defendant from custody on bond. The court, after consideration and to ensure the safety of the alleged victim or victims, may issue an emergency protective order pursuant to the Protection from Domestic Abuse Act. The court may also issue to the alleged victim or victims, an order restraining the alleged defendant from any activity or action from which they may be restrained under the Protection from Domestic Abuse Act. The protective order shall remain in effect until either a plea has been accepted, sentencing has occurred in the case, the case has been dismissed, or until further order of the court dismissing the protective order.
Laws 2004, HB 2380, c. 516, § 3, eff. July 1, 2005.