Prevent user to activate a plugin network wide
|Reported by:||wpfo||Owned by:|
So long we have not Settings API for network_wide activated plugins we need a way to prevent user to activate a plugin network wide.
New header in Plugin File Header: Blog
Blog - Boolean. Whether the plugin can only be activated per-site.
If true - Action link 'Network Activate' will be hiden in Network Admin Plugins Table
(problems are the bulk_actions in this approach).
We have now no way to prevent user to activate a plugin network wide.
All 'plugin_action_links' Filters work only if a plugin is already activated.
Or am I missing something?
we could have only one header for all activation modes e.g.
Activation (or ActivationMode) - String
Network - plugin can only be activated network wide.
Blog - plugin can only be activated per-site.
Both - plugin can be activated network wide or per-site.