Skip to:
Content

BuddyPress.org

Changeset 11196


Ignore:
Timestamp:
10/16/2016 07:19:20 PM (8 years ago)
Author:
hnla
Message:

Add groups_get_groups parameter comments

Commit adds missing parameter comments for group 'type' args.
Copies existing ones from groups class.

Fixes #7292 Props danbp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-functions.php

    r11182 r11196  
    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.
Note: See TracChangeset for help on using the changeset viewer.