Changeset 554 for trunk/bp-groups/bp-groups-templatetags.php
- Timestamp:
- 11/18/2008 04:41:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r548 r554 365 365 } 366 366 367 function bp_group_all_members_permalink( ) {367 function bp_group_all_members_permalink( $echo = true ) { 368 368 global $groups_template, $bp; 369 echo bp_group_permalink( false, true ) . '/' . MEMBERS_SLUG ; 369 370 if ( $echo ) 371 echo bp_group_permalink( false, true ) . '/' . MEMBERS_SLUG ; 372 else 373 return bp_group_permalink( false, false ) . '/' . MEMBERS_SLUG ; 370 374 } 371 375 … … 440 444 } 441 445 442 function bp_group_total_members() { 443 global $groups_template; 444 445 echo $groups_template->group->total_member_count; 446 function bp_group_total_members( $echo = true ) { 447 global $groups_template; 448 449 if ( $echo ) 450 echo $groups_template->group->total_member_count; 451 else 452 return $groups_template->group->total_member_count; 446 453 } 447 454
Note: See TracChangeset
for help on using the changeset viewer.