WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

ReportsSync::get_import_stats() public WC 1.0

Get stats for current import.

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

No Hooks.

Return

Array. Nothing.

Usage

$result = ReportsSync::get_import_stats();

Code of ReportsSync::get_import_stats() WC 5.3.0

<?php
public static function get_import_stats() {
	$import_stats                 = get_option( ImportScheduler::IMPORT_STATS_OPTION, array() );
	$import_stats['is_importing'] = self::is_importing();

	return $import_stats;
}