WC_Importer_Tracking::track_product_importer() public WC 1.0
Route product importer action to the right callback.
{} Это метод класса: WC_Importer_Tracking{}
Хуков нет.
Возвращает
null.
Использование
$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 WC 5.0.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
}