Skip to:
Content

BuddyPress.org

Ticket #7292: 7292.patch

File 7292.patch, 1.2 KB (added by hnla, 8 years ago)

Add comments for group type params.

  • src/bp-groups/bp-groups-functions.php

     
    704704                'exclude'            => false,          // Do not include these specific groups (group_ids).
    705705                'parent_id'          => null,           // Get groups that are children of the specified group(s).
    706706                'search_terms'       => false,          // Limit to groups that match these search terms.
    707                 'group_type'         => '',
    708                 'group_type__in'     => '',
    709                 'group_type__not_in' => '',
     707                'group_type'         => '',             // Array or comma-separated list of group types to limit results to.
     708                'group_type__in'     => '',             // Array or comma-separated list of group types to limit results to.
     709                'group_type__not_in' => '',             // Array or comma-separated list of group types that will be excluded from results.
    710710                'meta_query'         => false,          // Filter by groupmeta. See WP_Meta_Query for syntax.
    711711                'show_hidden'        => false,          // Show hidden groups to non-admins.
    712712                'per_page'           => 20,             // The number of results to return per page.