
After Building So Many WordPress Plugins, I Made WPPF
The problem and introducing WPPF If you've built more than a few WordPress plugins, you've probably run into the same pattern. A plugin starts clean, but as features grow it slowly becomes a mix of scattered add_action calls, copied boilerplate code, and an includes/ folder full of dissimilar items. After dealing with this enough times while building client plugins, I decided to standardize how I structure my projects. That eventually became the WordPress Plugin Framework (WPPF) . Table of contents Why this happens My solution The core idea: Modules CLI scaffolding Versioned namespaces Who this framework is for Try it out Why this happens One of the strengths of WordPress plugin development is also one of its biggest challenges: flexibility . WordPress doesn’t impose a strict project structure on plugin developers. In many ways that’s a good thing, since it lowers the barrier to entry and lets developers solve problems however they want. But along with that freedom has come little guid
Continue reading on Dev.to Webdev
Opens in a new tab




