Title: Network Plugins Auto Active/Deactive
Last modified: August 20, 2016

---

# Network Plugins Auto Active/Deactive

 *  [ruiestrelinha](https://wordpress.org/support/users/xpto/)
 * (@xpto)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/network-plugins-auto-activedeactive/)
 * 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.

## Tags

 * [deactivate plugins](https://wordpress.org/support/topic-tag/deactivate-plugins/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ruiestrelinha](https://wordpress.org/support/users/xpto/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/network-plugins-auto-activedeactive/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
