Automattic\WooCommerce\Admin\API

AnalyticsImports::is_scheduled_import_enabledprivateWC 1.0

Check if scheduled import is enabled.

Delegates to OrdersScheduler so the API reflects the same mode the scheduler actually runs in (feature flag check + legacy option fallback).

Method of the class: AnalyticsImports{}

No Hooks.

Returns

bool.

Usage

// private - for code of main (parent) class only
$result = $this->is_scheduled_import_enabled();

AnalyticsImports::is_scheduled_import_enabled() code WC 11.0.1

private function is_scheduled_import_enabled() {
	return OrdersScheduler::is_scheduled_import_enabled();
}