Changeset 25724
- Timestamp:
- 10/08/2013 12:21:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category.php
r25662 r25724 41 41 $args = wp_parse_args( $args, $defaults ); 42 42 43 $taxonomy = apply_filters( 'get_categories_taxonomy', $args['taxonomy'], $args ); 43 $taxonomy = $args['taxonomy']; 44 /** 45 * Filter the taxonomy used to retrieve terms when calling get_categories(). 46 * 47 * @since 2.7.0 48 * 49 * @param string $taxonomy Taxonomy to retrieve terms from. 50 * @param array $args An array of arguments. @see get_terms() 51 */ 52 $taxonomy = apply_filters( 'get_categories_taxonomy', $taxonomy, $args ); 44 53 45 54 // Back compat … … 263 272 return $return; 264 273 } 265 274 275 /** 276 * Filter the array of term objects returned for the 'post_tag' taxonomy. 277 * 278 * @since 2.3.0 279 * 280 * @param array $tags Array of 'post_tag' term objects. 281 * @param array $args An array of arguments. @see get_terms() 282 */ 266 283 $tags = apply_filters( 'get_tags', $tags, $args ); 267 284 return $tags;
Note: See TracChangeset
for help on using the changeset viewer.