Automattic\WooCommerce\Admin

PluginsHelper::init()public staticWC 1.0

Initialize hooks.

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

No Hooks.

Return

null. Nothing.

Usage

$result = PluginsHelper::init();

Code of PluginsHelper::init() WC 7.1.0

public static function init() {
	add_action( 'woocommerce_plugins_install_callback', array( __CLASS__, 'install_plugins' ), 10, 2 );
	add_action( 'woocommerce_plugins_activate_callback', array( __CLASS__, 'activate_plugins' ), 10, 2 );
}