Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/11/2016 03:32:17 PM (10 years ago)
Author:
djpaul
Message:

Groups: use bp_parse_args in groups_get_groups.

This gives us a new filter that can be used to modify query arguments
before passing it to BP_Groups_Group::get.

Fixes #7327

Props slaFFik, rekmla

File:
1 edited

Legend:

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

    r11213 r11286  
    725725        );
    726726
    727         $r = wp_parse_args( $args, $defaults );
     727        $r = bp_parse_args( $args, $defaults, 'groups_get_groups' );
    728728
    729729        $groups = BP_Groups_Group::get( array(
Note: See TracChangeset for help on using the changeset viewer.