Changeset 8785 for trunk/src/bp-xprofile/bp-xprofile-template.php
- Timestamp:
- 08/10/2014 08:33:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-template.php
r8688 r8785 26 26 27 27 function __construct( $user_id, $profile_group_id, $hide_empty_groups = false, $fetch_fields = false, $fetch_field_data = false, $exclude_groups = false, $exclude_fields = false, $hide_empty_fields = false, $fetch_visibility_level = false, $update_meta_cache = true ) { 28 $this->groups = BP_XProfile_Group::get( array(28 $this->groups = bp_xprofile_get_groups( array( 29 29 'profile_group_id' => $profile_group_id, 30 30 'user_id' => $user_id, … … 601 601 602 602 if ( empty( $groups ) ) { 603 $groups = BP_XProfile_Group::get( array( 'fetch_fields' => true ) );603 $groups = bp_xprofile_get_groups( array( 'fetch_fields' => true ) ); 604 604 wp_cache_set( 'xprofile_groups_inc_empty', $groups, 'bp' ); 605 605 }
Note: See TracChangeset
for help on using the changeset viewer.