RemoteInboxNotificationsEngine::run_on_deactivated_plugin( string $plugin )
The deactivated_plugin hook happens before the option is updated (https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/plugin.php#L826) so this captures the deactivated plugin path and pushes it into the PluginsProvider.
Description Description
Parameters Parameters
- $plugin
-
(Required) Path to the plugin file relative to the plugins directory.
Source Source
File: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php