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

WC_Admin_Setup_Wizard::setup_wizard_steps() public WC 1.0

Output the steps.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$WC_Admin_Setup_Wizard = new WC_Admin_Setup_Wizard();
$WC_Admin_Setup_Wizard->setup_wizard_steps();

Код WC_Admin_Setup_Wizard::setup_wizard_steps() WC 4.5.2

woocommerce/includes/admin/class-wc-admin-setup-wizard.php
<?php
public function setup_wizard_steps() {
	$output_steps      = $this->steps;
	$selected_features = array_filter( $this->wc_setup_activate_get_feature_list() );

	// Hide the activate step if Jetpack is already active, unless WooCommerce Services
	// features are selected, or unless the Activate step was already taken.
	if ( class_exists( 'Jetpack' ) && Jetpack::is_active() && empty( $selected_features ) && 'yes' !== get_transient( 'wc_setup_activated' ) ) {
		unset( $output_steps['activate'] );
	}

	unset( $output_steps['new_onboarding'] );

	?>
	<ol class="wc-setup-steps">
		<?php
		foreach ( $output_steps as $step_key => $step ) {
			$is_completed = array_search( $this->step, array_keys( $this->steps ), true ) > array_search( $step_key, array_keys( $this->steps ), true );

			if ( $step_key === $this->step ) {
				?>
				<li class="active"><?php echo esc_html( $step['name'] ); ?></li>
				<?php
			} elseif ( $is_completed ) {
				?>
				<li class="done">
					<a href="<?php echo esc_url( add_query_arg( 'step', $step_key, remove_query_arg( 'activate_error' ) ) ); ?>"><?php echo esc_html( $step['name'] ); ?></a>
				</li>
				<?php
			} else {
				?>
				<li><?php echo esc_html( $step['name'] ); ?></li>
				<?php
			}
		}
		?>
	</ol>
	<?php
}