Automattic\WooCommerce\Internal\DataStores\Orders

DataSynchronizer::data_sync_is_enabled()publicWC 1.0

Is the data sync between old and new tables currently enabled?

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

No Hooks.

Return

true|false.

Usage

$DataSynchronizer = new DataSynchronizer();
$DataSynchronizer->data_sync_is_enabled(): bool;

Code of DataSynchronizer::data_sync_is_enabled() WC 6.6.1

public function data_sync_is_enabled(): bool {
	return 'yes' === get_option( self::ORDERS_DATA_SYNC_ENABLED_OPTION );
}