Ticket #5657: bp-xprofile-classes-5657.diff
File bp-xprofile-classes-5657.diff, 541 bytes (added by , 10 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-classes.php
1223 1223 public static function get_all_for_user( $user_id ) { 1224 1224 global $wpdb, $bp; 1225 1225 1226 $groups = BP_XProfile_Group::get( array(1226 $groups = bp_xprofile_get_groups( array( 1227 1227 'user_id' => $user_id, 1228 1228 'hide_empty_groups' => true, 1229 1229 'hide_empty_fields' => true,