Getting Started With WordPress Plugin Development

"Harry Plugin & The Power of WordPress" written in the style of Harry Potter

This morning I gave a talk about how to get started with WordPress Plugin Development at WordCamp Torino 2017.

Here you can find the video and the slides of my talk, enjoy 🙂

WordPress Plugins are powerful tools that let us extend WordPress and turn it into whatever we want. What’s their secret? Join me if you want to know more about them and get started developing your own Plugin! I’ll tell you a story about magic, dangerous pirates, brave bowmen and ancient castles…

Introduction to WordPress Plugins

49 472 WordPress Plugins available on the official repository. That’s a huge number! And they are just the Plugins available on They are much more, for example think about vendors that sell their own Plugins on their platforms or the thousands of Plugins loaded on GitHub, but never submitted to the official repository.

For many people Plugins are surrounded by mystery. It seems that WordPress provides us with a powerful magic wand to get anything we want. To turn WordPress into whatever we want.

What is a Plugin?

The shortest answer is: a package of code. More specifically, a package of PHP code. That’s it.

The simplest Plugin is made up of a single unique PHP file. For example Hello Dolly, a Plugin that you’ve probably never used, but you have seen it at least once, since it is delivered together with WordPress.

It’s important to understand how Plugins are related to WordPress itself. There are three major components: Core, Themes and Plugins. The Core is the application itself. Themes allow to display some data to users and to choose the look and presentation of your website. Finally we have Plugins.

Plugins are used to extend WordPress functionalities or to add new ones. At this point you can ask why not to directly modify the WordPress Core. Continue reading “Introduction to WordPress Plugins”