Any court with jurisdiction over any criminal matter may, after a hearing and in its discretion, upon substantial evidence, which may include hearsay or the declaration of the prosecutor that a witness or victim has been intimidated or is reasonably likely to be intimidated, issue protective orders, including, but not limited to, the following:
(1) An order that a defendant not violate any provision of this subchapter or section 2709 (relating to harassment ) or 2709.1 ( relating to stalking).(2) An order that a person other than the defendant, including, but not limited to, a subpoenaed witness, not violate any provision of this subchapter.(3) An order that any person described in paragraph (1) or (2) maintain a prescribed geographic distance from any specified witness or victim.(4) An order that any person described in paragraph (1) or (2) have no communication whatsoever with any specified witness or victim, except through an attorney under such reasonable restrictions as the court may impose.1980, Dec. 4, P.L. 1097, No. 187, § 4, effective in 60 days. Amended 1993, June 23, P.L. 124, No. 28, § 3, imd. effective; 2002, Dec. 9, P.L. 1759, No. 218, § 3, effective in 60 days.