Created
May 9, 2015 22:00
-
-
Save duogeekdev/a3a33993a0631bb394e6 to your computer and use it in GitHub Desktop.
Rename plugin folder
This file contains hidden or 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 | |
| define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/new/path/to/plugins' ); | |
| define( 'WP_PLUGIN_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/new/path/to/plugins' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment