wearerequired / custom-meta-boxes-mu-loader
Loads Custom Meta Boxes as a must-use plugin.
Installs: 4 445
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:wordpress-muplugin
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2024-11-10 07:44:19 UTC
README
Loads HM Custom Meta Boxes as a must-use plugin.
Installation
The package type is wordpress-muplugin
. Example of a composer.json
:
{ "name": "wearerequired/something", "description": "required.com", "license": "GPL-2.0+", "authors": [ { "name": "required gmbh", "email": "info@required.ch" } ], "require": { "php": ">=5.3", "koodimonni/composer-dropin-installer": "dev-master", "johnpbloch/wordpress": "~4.9", "humanmade/custom-meta-boxes": "dev-develop", "wearerequired/custom-meta-boxes-mu-loader": "^1.0" }, "repositories": [ { "type": "package", "package": { "name": "humanmade/custom-meta-boxes", "type": "wordpress-plugin", "version": "dev-develop", "source": { "type": "git", "url": "git@github.com:humanmade/Custom-Meta-Boxes.git", "reference": "develop" } } } ], "extra": { "wordpress-install-dir": "wordpress/wp", "installer-paths": { "wordpress/content/plugins/{$name}/": [ "type:wordpress-plugin" ], "vendor/{$vendor}/{$name}/": [ "type:wordpress-muplugin" ], "wordpress/content/themes/{$name}/": [ "type:wordpress-theme" ] }, "dropin-paths": { "wordpress/content/mu-plugins/": [ "type:wordpress-muplugin" ] } }, "minimum-stability": "dev", "prefer-stable": true }
Why?
wp-content/mu-plugins
is designed to only support plugins in a single file. HM Custom Meta Boxes has clearly more than one file.
It also helps to keep the wp-content directory of your project as clean as possible. It should actually be empty because you're loading everything through composer. 😉