Articles

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