Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::should_backfill_post_recordprivateWC 1.0

Helper method to check whether to backfill post record.

Method of the class: OrdersTableDataStore{}

No Hooks.

Returns

true|false.

Usage

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

OrdersTableDataStore::should_backfill_post_record() code WC 10.7.0

private function should_backfill_post_record() {
	$data_sync = wc_get_container()->get( DataSynchronizer::class );
	return $data_sync->data_sync_is_enabled();
}