Skip to:
Content
Pages
Categories
Search
Top
Bottom

Checking xprofile visibility settings

  • Avatar of rolltowound
    rolltowound
    Participant

    @rolltowound

    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; ?>

You must be logged in to reply to this topic.