Automattic\WooCommerce\Internal\Admin\Schedulers

CustomersScheduler::get_total_imported()public staticWC 1.0

Get total number of rows imported.

Method of the class: CustomersScheduler{}

No Hooks.

Return

Int.

Usage

$result = CustomersScheduler::get_total_imported();

CustomersScheduler::get_total_imported() code WC 7.3.0

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