WC_Tracks::get_products_count()

Get total product counts.


Description Description


Return Return

(int) Number of products.


Top ↑

Source Source

File: includes/tracks/class-wc-tracks.php

	public static function get_products_count() {
		$product_counts = WC_Tracker::get_product_counts();
		return $product_counts['total'];
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.