Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WC_Tracker::get_category_counts()

Get the number of product categories.


Description Description


Return Return

(int)


Top ↑

Source Source

File: includes/class-wc-tracker.php

	private static function get_category_counts() {
		return wp_count_terms( 'product_cat' );
	}


Top ↑

User Contributed Notes User Contributed Notes

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