Automattic\WooCommerce\Admin

ReportsSync::is_importing()public staticWC 1.0

Returns true if an import is in progress.

Метод класса: ReportsSync{}

No Hooks.

Return

true|false.

Usage

$result = ReportsSync::is_importing();

Код ReportsSync::is_importing() WC 7.1.0

public static function is_importing() {
	foreach ( self::get_schedulers() as $scheduler ) {
		if ( $scheduler::is_importing() ) {
			return true;
		}
	}
	return false;
}