Changeset 7948 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 02/21/2014 01:50:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r7932 r7948 385 385 * Default: 1. 386 386 * @type array $group_role Optional. Array of group roles to include. 387 * @type string $search_terms Optional. Filter results by a search string. 388 * @type string $type Optional. Sort the order of results. 'last_joined', 389 * 'first_joined', or any of the $type params available in 390 * {@link BP_User_Query}. Default: 'last_joined'. 387 391 * } 388 * @param int $group_id 389 * @param int $limit Maximum members to return 390 * @param int $page The page of results to return (requires $limit) 391 * @param bool $exclude_admins_mods Whether to exclude admins and mods 392 * @param bool $exclude_banned Whether to exclude banned users 393 * @param array|string $exclude Array or comma-sep list of users to exclude 394 * @return array Multi-d array of 'members' list and 'count' 392 * @return array Multi-d array of 'members' list and 'count'. 395 393 */ 396 394 function groups_get_group_members( $args = array() ) { … … 423 421 'group_role' => array(), 424 422 'search_terms' => false, 423 'type' => 'last_joined', 425 424 ) ); 426 425 … … 456 455 'exclude' => $r['exclude'], 457 456 'search_terms' => $r['search_terms'], 458 'type' => 'last_modified',457 'type' => $r['type'], 459 458 ) ); 460 459
Note: See TracChangeset
for help on using the changeset viewer.