In our last post "Enabling Action and Filter Hook Removal from Class-based WordPress Plugins" we offered the following as a suggested template for coding WordPress plugins:
Tag Archives: Plugin Classes
Using Classes as Code Wrappers for WordPress Plugins
Many tutorials that explain how to write a WordPress plugin (including ours) show the use of global functions for implementing action and filter hooks. In our case we used global functions so we had less to explain. But now that we’ve gotten past that first tutorial we think once you understand using classes you’ll find no… Continue reading