Changeset 1655 for trunk/bp-xprofile/bp-xprofile-templatetags.php
- Timestamp:
- 08/13/2009 01:24:21 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-templatetags.php
r1643 r1655 619 619 return false; 620 620 } 621 622 function bp_current_profile_group_id() { 623 echo bp_get_current_profile_group_id(); 624 } 625 function bp_get_current_profile_group_id() { 626 global $bp; 627 628 if ( !$profile_group_id = $bp->action_variables[1] ) 629 $profile_group_id = 1; 630 631 return apply_filters( 'bp_get_current_profile_group_id', $profile_group_id ); // admin/profile/edit/[group-id] 632 } 621 633 622 634
Note: See TracChangeset
for help on using the changeset viewer.