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.


Top ↑

Source Source

File: packages/woocommerce-admin/src/PluginsProvider/PluginsProvider.php


			


Top ↑

User Contributed Notes User Contributed Notes

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