Changeset 7091 for trunk/bp-groups/bp-groups-template.php
- Timestamp:
- 05/19/2013 02:40:18 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-template.php
r7087 r7091 1978 1978 global $members_template; 1979 1979 1980 $ defaults =array(1980 $r = wp_parse_args( $args, array( 1981 1981 'group_id' => bp_get_current_group_id(), 1982 1982 'per_page' => 20, … … 1985 1985 'exclude_admins_mods' => 1, 1986 1986 'exclude_banned' => 1 1987 ); 1988 1989 $r = wp_parse_args( $args, $defaults ); 1990 extract( $r, EXTR_SKIP ); 1991 1992 $members_template = new BP_Groups_Group_Members_Template( $group_id, $per_page, $max, (int) $exclude_admins_mods, (int) $exclude_banned, $exclude ); 1987 ) ); 1988 1989 $members_template = new BP_Groups_Group_Members_Template( $r['group_id'], $r['per_page'], $r['max'], (int) $r['exclude_admins_mods'], (int) $r['exclude_banned'], $r['exclude'] ); 1993 1990 return apply_filters( 'bp_group_has_members', $members_template->has_members(), $members_template ); 1994 1991 }
Note: See TracChangeset
for help on using the changeset viewer.