Opened 12 years ago
Closed 12 years ago
#28418 closed feature request (duplicate)
register_plugin_directory needed
| Reported by: | miljushm | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugins | Version: | 3.9.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Hi guys,
we have awesome function register_theme_directory which makes registering additional theme directories very flexible and I think having the same (register_plugin_directory) for plugins is something we need so bad.
I am aware of activate_plugin function but it's not flexible at all, at least not near register_theme_directory since only plugins located in the /plugins/ directory or /plugins/my-example-plugin/ can pass the validation (validate_plugin and get_plugins), otherwise it returns that plugin doesn't have good headers which is another confusion.
Cheers!
Marko
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #19721.