Wordpress Plugin Boilerplate but Powered with examples and a generator!
GPL-3.0 License
Bot releases are hidden (Show)
Published by Mte90 over 1 year ago
Published by Mte90 over 1 year ago
Published by Mte90 about 2 years ago
fakepage
libraryMany thanks to @erikyo for the work on the new React/block stuff!
Published by Mte90 over 2 years ago
language
libraryPublished by Mte90 over 2 years ago
Published by Mte90 over 2 years ago
Published by Mte90 about 3 years ago
Published by Mte90 over 3 years ago
Published by Mte90 about 4 years ago
Published by Mte90 over 4 years ago
Check major version releases for the major changes https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/releases/tag/3.2.0
Published by Mte90 over 4 years ago
This migration forced the project to change all the file naming rules to follow the PSR-4 standard and also a custom way to initialize the classes.
In previous version was required to change manually the https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/blob/master/plugin-name/engine/Initialize.php to define the class to load by case (admin/frontend/cli/etc), instead now use the composer autoload to load them if the autoload was optimized (composer dumpautoload -o
) otherwise does a scan of the directories to autoload them.
Sadly PHP compared to other languages doesn't scan the folders on his own but require a hand to achieve it.
This system is easy to expand as because auto scan also subdirectories so based on the needs you can create all the folders as namespace that you need.
src
folder?Honestly as WP plugin based on our needs and feedback there wasn't this need because the basic folders are already defined, anyway as this is a boilerplate it is possible to change and altering as you wish (or start a discussion to implement it).
We are keep improving the wiki https://wpbp.github.io/wiki.html with new stuff but we are opened to any new idea or suggestion -> https://github.com/WPBP/wpbp.github.io
There will be as usual a new version of the generator (https://github.com/WPBP/generator) aligned with the new version.
This set of Bash scripts integrates in his workflow the support for this boilerplate to generate and upload the various plugin version -> https://github.com/CodeAtCode/freemius-suite
Initialize
class to avoid static class listwordpress-admin-notices
and WP-Dismissable-Notice-Handler
with wpdesk/wp-notice
Published by Mte90 about 5 years ago
Published by Mte90 over 5 years ago
if
for the generation instead of unless
Published by Mte90 over 5 years ago
A new major release with:
Pn_Is
class methodsPublished by Mte90 over 5 years ago
Published by Mte90 over 5 years ago
Published by Mte90 over 5 years ago
This release include a bump of the various packages and tools used to avoid errors.
Published by Mte90 almost 6 years ago
Published by Mte90 over 6 years ago