diff --git src/bp-groups/bp-groups-template.php src/bp-groups/bp-groups-template.php
index f729076..37a4904 100644
|
|
|
class BP_Groups_Template {
|
| 423 | 423 | * |
| 424 | 424 | * @param array $args { |
| 425 | 425 | * Array of parameters. All items are optional. |
| 426 | | * @type string $type Optional. Shorthand for certain orderby/ |
| | 426 | * @type string $type Shorthand for certain orderby/ |
| 427 | 427 | * order combinations. 'newest', 'active', 'popular', |
| 428 | 428 | * 'alphabetical', 'random'. When present, will override |
| 429 | 429 | * orderby and order params. Default: null. |
| 430 | | * @type string $orderby Optional. Property to sort by. |
| | 430 | * @type string $orderby Property to sort by. |
| 431 | 431 | * 'date_created', 'last_activity', 'total_member_count', |
| 432 | 432 | * 'name', 'random'. Default: 'date_created'. |
| 433 | | * @type string $order Optional. Sort order. 'ASC' or 'DESC'. |
| | 433 | * @type string $order Sort order. 'ASC' or 'DESC'. |
| 434 | 434 | * Default: 'DESC'. |
| 435 | | * @type int $per_page Optional. Number of items to return per page |
| | 435 | * @type int $per_page Number of items to return per page |
| 436 | 436 | * of results. Default: null (no limit). |
| 437 | | * @type int $page Optional. Page offset of results to return. |
| | 437 | * @type int $page Page offset of results to return. |
| 438 | 438 | * Default: null (no limit). |
| 439 | | * @type int $user_id Optional. If provided, results will be limited |
| | 439 | * @type int $user_id If provided, results will be limited |
| 440 | 440 | * to groups of which the specified user is a member. Default: |
| 441 | 441 | * null. |
| 442 | | * @type string $search_terms Optional. If provided, only groups |
| | 442 | * @type string $search_terms If provided, only groups |
| 443 | 443 | * whose names or descriptions match the search terms will be |
| 444 | 444 | * returned. Default: false. |
| 445 | | * @type array $meta_query Optional. An array of meta_query |
| | 445 | * @type array $meta_query An array of meta_query |
| 446 | 446 | * conditions. See {@link WP_Meta_Query::queries} for |
| 447 | 447 | * description. |
| 448 | | * @type array|string Optional. Array or comma-separated list of |
| | 448 | * @type array|string $include Array or comma-separated list of |
| 449 | 449 | * group IDs. Results will be limited to groups within the |
| 450 | 450 | * list. Default: false. |
| 451 | 451 | * @type bool $populate_extras Whether to fetch additional |
| 452 | 452 | * information (such as member count) about groups. Default: |
| 453 | 453 | * true. |
| 454 | | * @type array|string Optional. Array or comma-separated list of |
| | 454 | * @type array|string $exclude Array or comma-separated list of |
| 455 | 455 | * group IDs. Results will exclude the listed groups. |
| 456 | 456 | * Default: false. |
| 457 | 457 | * @type bool $show_hidden Whether to include hidden groups in |