🧰 WP Bones 2.0.8 — console commands can reach your plugin
WP Bones 2.0.8 is out 🦴 and it started as a community pull request 🙌
🧰 $this->plugin in your commands. Custom php bones commands that call $this->loadWordPress() now get your plugin instance: its config, its services, everything it registers. Before, the loader looked in the framework's own folder and your plugin never booted.

The Using WordPress in a command section of the WP Bones docs
🦴 One instance, never two. With the plugin active, WordPress has already booted it, so the command now reuses that exact instance. The first version of the fix built a second one, and every hook ran twice: caught on a real WordPress before it was released.
📄 Licences, sorted. The framework stays LGPL, with the GPL text it builds on now beside it. The 14 boilerplates are MIT: copy them into any plugin, commercial ones included.
👉 Docs, boilerplates and live Playground demos: https://www.wpbones.com
Writing your own bones commands? Tell me what you'd automate first 👀


Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.