WC_Importer_Tracking::track_product_importer
Route product importer action to the right callback.
Method of the class: WC_Importer_Tracking{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Importer_Tracking = new WC_Importer_Tracking(); $WC_Importer_Tracking->track_product_importer();
WC_Importer_Tracking::track_product_importer() WC Importer Tracking::track product importer code WC 10.8.1
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
}