Modern PHP in WP Plugins
- Home /
- Categories /
- Modern PHP in WP plugins
Elevate Your Plugin Development with Hook-Driven-Development
- May 24, 2023
- Modern php in wp plugins
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 MoreHow 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 MoreYou might not be using object-oriented programming
- Apr 26, 2023
- Modern php in wp plugins
What lies behind this somewhat provocative headline? Over time, I have noticed something about certain WordPress plugins. What exactly, I will describe here.
Read MoreModern object-oriented PHP in WordPress plugin development
- Apr 25, 2023
- Modern php in wp plugins
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