In this section, we'll create a plugin via a simple step-by-step process. We'll first see what the essential requirements are, then try out and test the plugin, and then briefly discuss the PHP code involved. That said, you should already have a basic background in PHP before going into this chapter.
Plugins
Building plugins from scratch
First of all, we're here to learn about WordPress, so in this particular case, we will indeed build things from scratch. This is always the best approach to get an in-depth look into how a particular technology works.
However, later on, once you're working with WordPress on a regular basis, and managing your own or other people's websites, I advise you to always look...