Checking xprofile visibility settings
If I use bp_member_profile_data(‘field=Location’) to retrieve a profile field within the member loop, is there anyway I can check what visibility setting the user has put on that field.
Ideally something which worked like this:
<?php if(bp_member_profile_data_is_visible('field=Location') : ?> <span class="data"><?php bp_member_profile_data('field=Location'); ?></span> <?php endif; ?>
- The topic ‘Checking xprofile visibility settings’ is closed to new replies.