Automattic\WooCommerce\Utilities

PluginUtil::handle_plugin_de_activation()privateWC 1.0

Handle plugin activation and deactivation by clearing the WooCommerce aware plugin ids cache.

{} It's a method of the class: PluginUtil{}

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->handle_plugin_de_activation(): void;

Code of PluginUtil::handle_plugin_de_activation() WC 7.1.0

private function handle_plugin_de_activation(): void {
	$this->woocommerce_aware_plugins        = null;
	$this->woocommerce_aware_active_plugins = null;
}