Automattic\WooCommerce\Utilities

PluginUtil::__construct()publicWC 1.0

Creates a new instance of the class.

Method of the class: PluginUtil{}

No Hooks.

Return

null. Nothing (null).

Usage

$PluginUtil = new PluginUtil();
$PluginUtil->__construct();

PluginUtil::__construct() code WC 9.6.0

public function __construct() {
	add_action( 'activated_plugin', array( $this, 'handle_plugin_de_activation' ), 10, 0 );
	add_action( 'deactivated_plugin', array( $this, 'handle_plugin_de_activation' ), 10, 0 );

	$this->plugins_excluded_from_compatibility_ui = array( 'woocommerce-legacy-rest-api/woocommerce-legacy-rest-api.php' );
}