WordPress at Your Fingertips
function is not described

WC_Importer_Tracking::track_product_importer() public WC 1.0

Route product importer action to the right callback.

{} It's a method of the class: WC_Importer_Tracking{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Importer_Tracking = new WC_Importer_Tracking();
$WC_Importer_Tracking->track_product_importer();

Code of WC_Importer_Tracking::track_product_importer() WC 5.8.0

public function track_product_importer() {
	// phpcs:disable WordPress.Security.NonceVerification.Recommended
	if ( ! isset( $_REQUEST['step'] ) ) {
		return;
	}

	if ( 'import' === $_REQUEST['step'] ) {
		return $this->track_product_importer_start();
	}

	if ( 'done' === $_REQUEST['step'] ) {
		return $this->track_product_importer_complete();
	}
	// phpcs:enable
}