Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $type_member = xprofile_get_field_data( 'Position', $user_id );?>
- <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( '' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group('profile_group_id='); ?>
- <?php
- if($type_member == 'Actress') {
- bp_the_profile_group( 'profile_group_id=2');
- } else {
- bp_the_profile_group( 'profile_group_id=1');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement