THE WORDPRESS PLUGIN BOILERPLATE
A STANDARDIZED, ORGANIZED, OBJECT-ORIENTED FOUNDATION
FOR BUILDING HIGH-QUALITY WORDPRESS PLUGINS.
The Boilerplate is organized in the same way as the plugins in the WordPress Plugin Repository. There’s a place for every type of file and the project leaves no guesswork as to what goes where.
If you’re looking for an object-oriented approach, then the Boilerplate has you covered. Separated by responsibility, it’s easy to find where to place your dashboard code, your public code, your shared code, and more.