Changeset 35895 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 12/13/2015 12:10:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r35889 r35895 2001 2001 * Default $args is 'hide_empty' which can be 'hide_empty=true' or array('hide_empty' => true). 2002 2002 * 2003 * @todo Document $args as a hash notation.2004 *2005 2003 * @since 2.3.0 2006 2004 * 2007 * @param string $taxonomy Taxonomy name 2008 * @param array|string $args Overwrite defaults. See get_terms() 2009 * @return array|int|WP_Error How many terms are in $taxonomy. WP_Error if $taxonomy does not exist. 2005 * @param string $taxonomy Taxonomy name. 2006 * @param array|string $args Optional. Array of arguments that get passed to {@see get_terms()}. 2007 * Default empty array. 2008 * @return array|int|WP_Error Number of terms in that taxonomy or WP_Error if the taxonomy does not exist. 2010 2009 */ 2011 2010 function wp_count_terms( $taxonomy, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.