WC_Settings_Tracking::init()
Init tracking.
Contents
Description Description
Source Source
File: includes/tracks/events/class-wc-settings-tracking.php
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_whitelist' ) ); add_action( 'woocommerce_update_options', array( $this, 'send_settings_change_event' ) ); }