WC_Product_CSV_Importer_Controller::dispatch()
Dispatch current step and show correct view.
Method of the class: WC_Product_CSV_Importer_Controller{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Product_CSV_Importer_Controller = new WC_Product_CSV_Importer_Controller(); $WC_Product_CSV_Importer_Controller->dispatch();
WC_Product_CSV_Importer_Controller::dispatch() WC Product CSV Importer Controller::dispatch code WC 7.5.1
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(); }