WordPress at Your Fingertips
function is not described

WC_Settings_Tracking::init() public WC 1.0

Init tracking.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Settings_Tracking::init() WC 5.8.0

public function init() {
	add_action( 'woocommerce_settings_page_init', array( $this, 'track_settings_page_view' ) );
	add_action( 'woocommerce_update_option', array( $this, 'add_option_to_list' ) );
	add_action( 'woocommerce_update_options', array( $this, 'send_settings_change_event' ) );
}