Support » How-To and Troubleshooting » Network Plugins Auto Active/Deactive

Network Plugins Auto Active/Deactive

  • Hello,

    There is any way that one plugin when is network admin activated can activate other plugins by code?!?

    I need that one plugin activate other network plugins. I can do this in functions.php, but when I do this in one plugin file the code just doesn’t work, it seems that function activate_plugin() doesn’t work.

    Same if I try deactivate_plugins(). In functions.php works perfect, in plugin not.

    note: I require plugin.php in plugin code…

    Thanks for help!

    Best regards,

  • The topic ‘Network Plugins Auto Active/Deactive’ is closed to new replies.