Changeset 1137
- Timestamp:
- 02/24/2009 10:50:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r1069 r1137 1178 1178 } 1179 1179 break; 1180 1181 case 'hidden': 1182 if ( BP_Groups_Member::check_is_member( $bp->loggedin_user->id, $group->id ) ) { 1183 echo '<a class="leave-group" href="' . wp_nonce_url( bp_group_permalink( $group, false ) . '/leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; 1184 } 1185 break; 1180 1186 } 1181 1187
Note: See TracChangeset
for help on using the changeset viewer.