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.9.4
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 );
}