WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Onboarding::send_profile_data_on_update() public WC 1.0

Send profiler data on profiler change to completion.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Onboarding::send_profile_data_on_update( $old_value, $value );
$old_value(array) (required)
Previous value.
$value(array) (required)
Current value.

Code of Onboarding::send_profile_data_on_update() WC 5.2.2

<?php
public static function send_profile_data_on_update( $old_value, $value ) {
	if ( ! isset( $value['completed'] ) || ! $value['completed'] ) {
		return;
	}

	self::send_profile_data();
}