Would it be A or B?
A.) A wide variety of classes was added.
B.) A wide variety of classes were added.
Would it be A or B?
A.) A wide variety of classes was added.
B.) A wide variety of classes were added.
"were added." is correct.
"A wide variety" is plural, hence the use of "were" in this case.
Other examples:
Note that I use "is" in the sentence "the word 'carrots' is plural" since I am referring to "a word" in this case and "a word" is singular.