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

WC_Product_CSV_Importer_Controller::dispatch() public WC 1.0

Dispatch current step and show correct view.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$WC_Product_CSV_Importer_Controller = new WC_Product_CSV_Importer_Controller();
$WC_Product_CSV_Importer_Controller->dispatch();

Код WC_Product_CSV_Importer_Controller::dispatch() WC 4.5.2

woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php
<?php
public function dispatch() {
	// phpcs:ignore WordPress.Security.NonceVerification.Missing
	if ( ! empty( $_POST['save_step'] ) && ! empty( $this->steps[ $this->step ]['handler'] ) ) {
		call_user_func( $this->steps[ $this->step ]['handler'], $this );
	}
	$this->output_header();
	$this->output_steps();
	$this->output_errors();
	call_user_func( $this->steps[ $this->step ]['view'], $this );
	$this->output_footer();
}