PluginsProvider::set_deactivated_plugin( string $plugin_path )
Set the deactivated plugin. This is needed because the deactivated_plugin hook happens before the option is updated which means that getting the active plugins includes the deactivated plugin.
Description Description
Parameters Parameters
- $plugin_path
-
(Required) The path to the plugin being deactivated.
Source Source
File: packages/woocommerce-admin/src/PluginsProvider/PluginsProvider.php