Count argument in get_terms has no effect on ouput/doesn’t work
Not sure from which version, but count argument not used anymore. Just checked WP_Term_Query class and found nothing related to count argument in get_terms() method, but you can still find it in constructor of this class. To return terms count only, you need to set count for fields argument. get_terms( array( ‘parent’ => $categoryId, ‘taxonomy’ … Read more