Articles
- Home /
- Articles
How to register WordPress hooks with PHP attributes: A step-by-step guide
- May 17, 2023
- Modern php in wp plugins
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 MoreCoding standards part 2: .editorconfig, documentation and strict types
- May 11, 2023
- Modern php in wp plugins
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 MoreAutoloading, coding standards and file structure in WordPress plugin development
- May 9, 2023
- Modern php in wp plugins
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 MoreNamespaces in WordPress plugin development
- May 3, 2023
- Modern php in wp plugins
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