Automattic\WooCommerce\Internal\DataStores\Orders

DataSynchronizer::get_total_pending_count()publicWC 1.0

Get total number of pending records that require update.

Method of the class: DataSynchronizer{}

No Hooks.

Return

Int. Number of pending records.

Usage

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

DataSynchronizer::get_total_pending_count() code WC 7.1.1

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