W. Va. Code § 48-5-608
(c) The court, in its discretion, may enter a protective order, as provided by the provisions of article twenty-seven of this chapter, as part of the final relief in a divorce action, either as a part of a order for final relief or in a separate written order. A protective order entered pursuant to the provisions of this subsection shall remain in effect for the period of time ordered by the court not to exceed one hundred eighty days: Provided, That the court may extend the protective order for whatever period the court deems necessary to protect the safety of the petitioner and others threatened or at risk, if the court determines: