0.7.0 Converted wordpress class into a defined type