Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Allows you to add additional plugin directories to WordPress.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 example_plugin
Octocat-spinner-32 inc
Octocat-spinner-32 js
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 changelog.html
Octocat-spinner-32 index.html
Octocat-spinner-32 plugin-dirs.php

Add Plugin Directories to WordPress

A work in progress related to a WordPress stack exchange question.


For an example, take a look at the example_plugin folder and the register_addt_plugins_dir.php file.

You need to copy this folder to your actual plugins folder and then activate it from within your plugins list. It only works if the main plugin is activated.

*) the one you defined with the WP_PLUGIN_DIR or WPMU_PLUGIN_DIR in your wp-config.php file - or the default plugins folder in your install.

Something went wrong with that request. Please try again.