Automattic\WooCommerce\Utilities

PluginUtil::__construct │ public │ WC 1.0

Creates a new instance of the class.

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

Хуков нет.

Возвращает

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

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

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

Код PluginUtil::__construct() WC 11.3.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 );
}