StorePress Base Plugin
WordPress Base Plugin
by Emran Ahmed. · github.com/emranahmed/storepress-base-plugin · website
★ 0stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/emranahmed/storepress-base-plugin/archive/refs/heads/main.zipDeclares an update source (https://update.storepress.com/), so updates arrive through the plugin's own updater.
From the readme
StorePress Base Plugin
Download latest release |
Test the plugin in your browser using Playground.
Summary table
| Question | Yes → Directory | ServiceProvider behaviour |
|--------------------------------------------------------------------|---------------------|---|
| Extends an external package (functional)? | Adapters/ | — no own provider |
| Extends an external package (core infra like implement interface)? | Integrations/ | — no own provider |
| Has WordPress hooks that must fire on boot? | Features/ | register() + boot() |
| No hooks — resolved on demand? | Services/ | register() only |
| Is an individual service provider? | ServiceProviders/ | — is the provider |
| Orchestrates all service providers? | Core/ | — boots ServiceProviders/ |
| Shared utility across classes? | Traits/ | — no provider |
Why the difference matters:
- boot() is what triggers hook registration — it resolv