Custom Plugin
Custom Plugin for MBN
★ 0stars
0forks
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/mbndev/custom-plugin/archive/refs/heads/master.zipFrom the readme
Vendor packages and autoload
This plugin uses Composer and loads vendor/autoload.php for:
- yahnis-elsts/plugin-update-checker (PucFactory) – update checks from GitHub.
Adding or changing vendor packages
1. Run composer require or edit composer.json and run composer update.
2. For packages that might be loaded by other plugins (e.g. PUC), keep the classexists() guard before requireonce ... vendor/autoload.php so only one autoload runs.
Linting (WordPress PHP standards)
- Conditional lint (runs PHPCS only when plugin code has functions, methods, classes, or use statements): composer run lint
- Unconditional lint: composer run lint:all or ./vendor/bin/phpcs
- Auto-fix: composer run lint:fix or ./vendor/bin/phpcbf
- Fix twice then lint (all-in-one): composer run lint:run
To block merges to any branch when lint fails, enable branch protection and require the Lint status check; see .github/BRANCHPROTECTION.md.
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0.10 | Apr 8, 2026 |
| v1.0.8 | Apr 8, 2026 |
| v1.0.7 | Mar 6, 2026 |
| v1.0.6 | Mar 5, 2026 |
| v1.0.5 | Mar 5, 2026 |
| v1.0.4 | Mar 5, 2026 |
| v1.0.3 | Mar 5, 2026 |
| v1.0.2 | Mar 5, 2026 |
| v1.0.1 | Mar 5, 2026 |
| v1.0.0 | Mar 5, 2026 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.