Automattic\WooCommerce\Internal\Admin\Schedulers

CustomersScheduler::get_total_imported()public staticWC 1.0

Get total number of rows imported.

Метод класса: CustomersScheduler{}

Хуков нет.

Возвращает

int.

Использование

$result = CustomersScheduler::get_total_imported();

Код CustomersScheduler::get_total_imported() WC 8.7.0

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