W. Va. Code § 8-40-5
In any proceeding alleging that a municipal regulation violates §8-40-3 or §8-40-4 of this code, the municipality that enacted the regulation shall be required to establish that the regulation complies with the provisions of this article.