wp_count_terms Wordpress function


Description:

Count how many terms are in Taxonomy.


Syntax:


Arguments:

(string) $taxonomy Taxonomy name
(array|string) $args Overwrite defaults. See get_terms()


Return Type:

(int|WP_Error) How many terms are in $taxonomy. WP_Error if $taxonomy does not exist.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_count_terms


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×