Creating a Simple WordPress Plugin in 60 Seconds
As you can see, there’s no “magic” to creating a WordPress plugin. It’s about knowing how to format code comments, a little about WordPress hooks, the WordPress API, and a little bit of PHP.
It really is that easy.