1// Attempts activation of plugin in a “sandbox” and redirects on success.
2activate_plugin( string $plugin, string $redirect = '',
3 bool $network_wide = false, bool $silent = false )
1// Activate multiple plugins.
2activate_plugins( string|string[] $plugins, string $redirect = '',
3 bool $network_wide = false, bool $silent = false )