Automattic\WooCommerce\Utilities
PluginUtil::__construct
Creates a new instance of the class.
Method of the class: PluginUtil{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PluginUtil = new PluginUtil(); $PluginUtil->__construct();
PluginUtil::__construct() PluginUtil:: construct code WC 10.6.2
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' );
}