Automattic\WooCommerce\Internal\Admin\Schedulers

OrdersScheduler::get_total_imported()public staticWC 1.0

Get total number of rows imported.

Method of the class: OrdersScheduler{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = OrdersScheduler::get_total_imported();

OrdersScheduler::get_total_imported() code WC 8.7.0

public static function get_total_imported() {
	global $wpdb;
	return $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}wc_order_stats" );
}