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.


Top ↑

Source Source

File: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.