Changeset 11037 for trunk/wp-includes/category-template.php
- Timestamp:
- 04/21/2009 10:13:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r10946 r11037 574 574 * the 'format' argument will return in PHP array type format. 575 575 * 576 * The 'tag_cloud_sort' filter allows you to override the sorting done 577 * by the 'orderby' argument; passed to the filter: $tags array and $args array. 578 * 576 579 * The 'orderby' argument will accept 'name' or 'count' and defaults to 'name'. 577 580 * The 'order' is the direction to sort, defaults to 'ASC' and can be 'DESC' or … … 619 622 uasort( $tags, create_function('$a, $b', 'return ($a->count > $b->count);') ); 620 623 624 $tags = apply_filters( 'tag_cloud_sort', $tags, $args ); 625 621 626 if ( 'DESC' == $order ) 622 627 $tags = array_reverse( $tags, true );
Note: See TracChangeset
for help on using the changeset viewer.