Automattic\WooCommerce\Utilities

PluginUtil::handle_plugin_de_activation()privateWC 1.0

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

Method of the class: PluginUtil{}

No Hooks.

Return

null. Nothing (null).

Usage

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

PluginUtil::handle_plugin_de_activation() code WC 8.7.0

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