West Virginia Code
Article 5. Costs in Criminal Cases
§62-5-1. Payment of Witnesses

Sections sixteen and seventeen of article one, and section sixteen of article two, chapter fifty-nine of this code shall apply to a person attending as a witness under a recognizance or summons in a criminal case whether the same be a felony or misdemeanor, as well as to a person attending under a summons in a civil case, except that in a criminal case, a person residing out of this state, who attends a court therein as a witness, shall be allowed by such court a proper compensation for attendance and travel to and from the place of his abode; the amount of the same to be fixed by such court. Such compensation and other allowances shall, in all criminal cases be paid out of the treasury of the state.