Last active
December 11, 2024 18:57
-
-
Save robneu/5282532 to your computer and use it in GitHub Desktop.
A proxy loader file to load an example plugin inside the mu-plugins directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Example MU Plugin | |
* Plugin URI: http://example.com | |
* Description: Site-specific plugin for example.com | |
* Version: 1.0.0 | |
* Author: FAT Media | |
* Author URI: http://youneedfat.com | |
*/ | |
// Main example plugin file | |
require_once( WPMU_PLUGIN_DIR . '/example-plugin/plugin.php' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A full tutorial on defining and using plugin URLs in a WordPress Must Use plugin can be found at http://youneedfat.com/get-the-mu-plugin-directory-url/