Automattic\WooCommerce\Utilities
PluginUtil::__construct
Creates a new instance of the class.
Метод класса: PluginUtil{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$PluginUtil = new PluginUtil(); $PluginUtil->__construct();
Код PluginUtil::__construct() PluginUtil:: construct WC 9.9.3
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' ); }