Automattic\WooCommerce\Internal\DataStores\Orders

DataSynchronizer::get_current_orders_pending_sync_count_cachedpublicWC 1.0

Get the total number of orders pending synchronization.

Method of the class: DataSynchronizer{}

No Hooks.

Returns

Int.

Usage

$DataSynchronizer = new DataSynchronizer();
$DataSynchronizer->get_current_orders_pending_sync_count_cached(): int;

DataSynchronizer::get_current_orders_pending_sync_count_cached() code WC 10.6.2

public function get_current_orders_pending_sync_count_cached(): int {
	return $this->get_current_orders_pending_sync_count( true );
}