How to deactivate a WordPress plugin automatically
The ability to deactivate a WordPress plugin automatically is a handy feature. It gives a plugin developer the ability to deactivate their plugin when certain criteria are met.
The ability to deactivate a WordPress plugin automatically is a handy feature. It gives a plugin developer the ability to deactivate their plugin when certain criteria are met.
This post will illustrate a very simple modular plugin and how to extend it using another plugin.
A modular plugin is a plugin that can be extended or modified without changing the core plugin code.
WordPress plugins and themes often come with built-in shortcodes. Using them is usually straightforward, and, until just recently, I thought displaying one in a post (i.e. [imashortcode]) was not so straightforward.
Have you ever wanted to add some functionality to a WordPress site, but you didn’t want to modify any of the WordPress PHP files (functions.php to be specific)? Creating a plugin in WordPress is the answer, and it’s a pretty simple task. It can open the door to whole new world of possibilities when working with a WordPress site.
I recently setup WordPress on my local machine so I could try my hand at developing plugins. It seemed daunting at first, but it turned out to be a fairly easy process.