get_terms() How many is TOO many?

Ad slowing down)

Lame answer: depends on your server and stuff.

Ad possible bug)

wp_count_terms(); is a level “above” get_terms(); and therefore has values like 'hide_empty' and 'fields' already set. I’d say: diff your $args against those predefinied by wp_count_term();. The later function does nothing than calling the get_terms() at it’s end.

Leave a Comment