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

WC_Admin_Setup_Wizard_Tracking::add_step_save_events() public WC 1.0

Track various events when a step is saved.

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

Хуков нет.

Возвращает

Null. Ничего.

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

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

Код WC_Admin_Setup_Wizard_Tracking::add_step_save_events() WC 4.5.2

woocommerce/includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
<?php
public function add_step_save_events() {
	// Always record a track on this page view.
	if ( 'next_steps' === $this->get_current_step() ) {
		add_action( 'admin_init', array( $this, 'track_next_steps' ), 1 );
	}

	if ( empty( $_POST['save_step'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
		return;
	}

	update_option( 'woocommerce_obw_last_completed_step', $this->get_current_step() );

	switch ( $this->get_current_step() ) {
		case '':
		case 'store_setup':
			add_action( 'admin_init', array( $this, 'track_store_setup' ), 1 );
			break;
		case 'payment':
			add_action( 'admin_init', array( $this, 'track_payments' ), 1 );
			break;
		case 'shipping':
			add_action( 'admin_init', array( $this, 'track_shipping' ), 1 );
			break;
		case 'recommended':
			add_action( 'admin_init', array( $this, 'track_recommended' ), 1 );
			break;
		case 'activate':
			add_action( 'admin_init', array( $this, 'track_jetpack_activate' ), 1 );
			break;
	}
}