Automattic\WooCommerce\Utilities

PluginUtil::__construct()publicWC 1.0

Creates a new instance of the class.

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

Хуков нет.

Возвращает

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

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

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

Код PluginUtil::__construct() WC 8.7.0

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