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)
Source Source
File: includes/class-wc-tracker.php
private static function get_category_counts() { return wp_count_terms( 'product_cat' ); }