Skip to:
Content

BuddyPress.org

Ticket #5657: bp-xprofile-classes-5657.diff

File bp-xprofile-classes-5657.diff, 541 bytes (added by tw2113, 10 years ago)
  • src/bp-xprofile/bp-xprofile-classes.php

     
    12231223        public static function get_all_for_user( $user_id ) {
    12241224                global $wpdb, $bp;
    12251225
    1226                 $groups = BP_XProfile_Group::get( array(
     1226                $groups = bp_xprofile_get_groups( array(
    12271227                        'user_id'                => $user_id,
    12281228                        'hide_empty_groups'      => true,
    12291229                        'hide_empty_fields'      => true,