Modern PHP in WP Plugins

Elevate Your Plugin Development with Hook-Driven-Development

After the previous article in this series was very technical, today we’ll take a breather and indulge in a slightly more theoretical piece. Our topic is Hook-Driven-Development and why you too should implement it in your plugins.

Read More

How to register WordPress hooks with PHP attributes: A step-by-step guide

In this article, I will discuss how and why WordPress hooks are used in plugins, and how we will use PHP attributes for registering hooks in classes effectively and clearly.

Read More

Coding standards part 2: .editorconfig, documentation and strict types

In the previous article, we already learned a lot about coding standards, and today I like to discuss three more points: the file .editorconfig, the documentation of your code, and the declaration of strict types.

Read More

Autoloading, coding standards and file structure in WordPress plugin development

In the last article, I explained the use of namespaces, which we need today to establish autoloading, which simultaneously defines our file and folder structure.

Read More

Namespaces in WordPress plugin development

In this article I’ll point out, what’s the reason for using namespaces in our WordPress plugins and what namespaces are. We will learn, that namespaces are important for the upcoming topics in this series

Read More

You might not be using object-oriented programming

What lies behind this somewhat provocative headline? Over time, I have noticed something about certain WordPress plugins. What exactly, I will describe here.

Read More

Modern object-oriented PHP in WordPress plugin development

In this article series, I will present methods for building WordPress plugins in a modern and object-oriented way. The focus will be on code quality, reusability, maintainability, and extensibility of plugins and plugin code.

Read More