WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Admin_Setup_Wizard_Tracking::track_skip_step() public WC 1.0

Track skipped steps.

Это метод класса: WC_Admin_Setup_Wizard_Tracking{}

Хуков нет.

Возвращает

null.

Использование

$WC_Admin_Setup_Wizard_Tracking = new WC_Admin_Setup_Wizard_Tracking();
$WC_Admin_Setup_Wizard_Tracking->track_skip_step();

Код WC_Admin_Setup_Wizard_Tracking::track_skip_step() WC 4.5.2

woocommerce/includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
<?php
public function track_skip_step() {
	$previous_step = get_option( 'woocommerce_obw_last_completed_step' );
	$current_step  = $this->get_current_step();
	if ( ! $previous_step || ! $current_step ) {
		return;
	}

	$steps               = array_keys( $this->steps );
	$current_step_index  = array_search( $current_step, $steps, true );
	$previous_step_index = array_search( $previous_step, $steps, true );

	// If we're going forward more than 1 completed step.
	if ( $current_step_index > $previous_step_index + 1 ) {
		$properties = array(
			'step' => $steps[ $current_step_index - 1 ],
		);
		WC_Tracks::record_event( 'obw_skip_step', $properties );
	}
}