Method | Description | |
---|---|---|
deactivate_plugins ( array $plugins ) : string[] | Deactivates the given plugins network-wide. |
Method | Description | |
---|---|---|
get_plugins_to_deactivate ( array $active_plugins, array $plugins ) : array | Returns the base names of plugins that are to be deactivated. |
public deactivate_plugins ( array $plugins ) : string[] | ||
$plugins | array | Plugin base names (or partials). These will be matched against all active plugins. |
return | string[] | An array with all plugins that were deactivated. |