Automattic\WooCommerce\Utilities

PluginUtil::handle_plugin_de_activationpublicWC 1.0

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

Метод класса: PluginUtil{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$PluginUtil = new PluginUtil();
$PluginUtil->handle_plugin_de_activation(): void;

Код PluginUtil::handle_plugin_de_activation() WC 10.3.6

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