Every person elected or appointed to an office in any municipality shall, unless otherwise provided in the charter thereof, within twenty days after his election or appointment and before he shall enter upon the duties of his office, take and subscribe to the oath of office prescribed for district officers, which may be done before any person authorized by law to administer oaths, or before the mayor or recorder of such municipality. The oath, together with the certificate of the officer administering the same, shall be filed, recorded and preserved in the office of the recorder of the municipality, and a certified copy of such oath and certificate shall be filed and recorded in the office of the clerk of the county court of the county in which the municipality or the major portion of the territory thereof is located.
W. Va. Code § 8-5-8