use php classes for a plugin or not?
-
Hi people,
I’m trying to expand my php and wordpress knowledge by creating a massive project. Something like a shopping system plugin which u can use in wordpress.
Now I would like some suggestions before i start..
Is it better to create classes in your plugin.
likeif (!class_exists("DevloungePluginSeries")) { class DevloungePluginSeries { function DevloungePluginSeries() { //constructor } } } //End Class DevloungePluginSeriesor is it better to not use these?
Because I’ve read lots of tutorials and some make use of classes and some don’t…
Thanks in advance!
[No bumping, thank you.]
The topic ‘use php classes for a plugin or not?’ is closed to new replies.