Skip to content

This small WordPress plugin include all plugins in subdirectories from Must Use plugin folder

Notifications You must be signed in to change notification settings

wpHaxx/Must-Use-Loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Must Use Loader

This small plugin scan and include all plugins in subdirectories from Must Use plugin folder.

Description

The WordPress Must Use Plugins is an fine way to include without doings in back end. But WordPress does not load plugins in subdirectories, they must be at the root of the Must Use plugin directory, on default /wp-content/mu-plugins/. This small plugin scan and include all plugins in subdirectories from Must Use plugin folder.

Screenshots

List of Must Use Plugins, include the automatically loads in subdirectories

Installation

  1. Download the php file
  2. Copy to your Must Use plugin folder, default /wp-content/mu-plugins/
  3. Alternative define your Must Use folder in the wp-config.php and copy the plugin in this folder
  4. Check in the network plugin page, if it works

Alternative via Git

  1. Go to your Must Use folder cd path
  2. git init .
  3. git remote add origin https://github.com/bueltge/Must-Use-Loader.git
  4. git fetch origin
  5. git checkout master
  6. Check in the network plugin page, if it works

Custom Must Use Plugin directory

Define it in the wp-config.php of your install, like the follow source.

// Custom mu plugin directory
define( 'WPMU_PLUGIN_DIR', dirname( __FILE__ ) . '/wpmu-plugins' );
define( 'WPMU_PLUGIN_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wpmu-plugins' );

Other Notes

Bugs, technical hints or contribute

Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues.

License

Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a small donation for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)

Contact & Feedback

The plugin is designed and developed by me (Frank Bültge), G+ Page

Please let me know if you like the plugin or you hate it or whatever ... Please fork it, add an issue for ideas and bugs.

Disclaimer

I'm German and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical farts. Thanks

About

This small WordPress plugin include all plugins in subdirectories from Must Use plugin folder

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%