WordPress at Your Fingertips
function is not described

WC_Settings_Tracking::send_settings_change_event() public WC 1.0

Send a Tracks event for WooCommerce options that changed values.

{} 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->send_settings_change_event();

Code of WC_Settings_Tracking::send_settings_change_event() WC 5.8.0

public function send_settings_change_event() {
	global $current_tab;

	if ( empty( $this->updated_options ) ) {
		return;
	}

	$properties = array(
		'settings' => implode( ',', $this->updated_options ),
	);

	if ( isset( $current_tab ) ) {
		$properties['tab'] = $current_tab;
	}

	WC_Tracks::record_event( 'settings_change', $properties );
}