WordPress at Your Fingertips
function is not described

WC_Extensions_Tracking::init() public WC 1.0

Init tracking.

{} It's a method of the class: WC_Extensions_Tracking{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Extensions_Tracking::init() WC 5.8.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 );
}