WC_Extensions_Tracking::init()publicWC 1.0

Init tracking.

Method of the class: WC_Extensions_Tracking{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Extensions_Tracking = new WC_Extensions_Tracking();
$WC_Extensions_Tracking->init();

WC_Extensions_Tracking::init() code WC 8.7.0

public function init() {
	add_action( 'load-woocommerce_page_wc-addons', array( $this, 'track_extensions_page' ) );
	add_action( 'woocommerce_helper_connect_start', array( $this, 'track_helper_connection_start' ) );
	add_action( 'woocommerce_helper_denied', array( $this, 'track_helper_connection_cancelled' ) );
	add_action( 'woocommerce_helper_connected', array( $this, 'track_helper_connection_complete' ) );
	add_action( 'woocommerce_helper_disconnected', array( $this, 'track_helper_disconnected' ) );
	add_action( 'woocommerce_helper_subscriptions_refresh', array( $this, 'track_helper_subscriptions_refresh' ) );
	add_action( 'woocommerce_addon_installed', array( $this, 'track_addon_install' ), 10, 2 );
	add_action( 'woocommerce_page_wc-addons_connection_error', array( $this, 'track_extensions_page_connection_error' ), 10, 1 );
}