// echo '<br> [' . $str_field_ev . ' - (TODO remove)]'; do_action('bp_custom_profile_edit_fields_pre_visibility'); ?> <?php if (bp_current_user_can('bp_xprofile_change_field_visibility')) { // if ( ez_user_can_visibility( bp_the_profile_field_id()) ){ // } ?> <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id(); ?> "> <?php printf(__('1 - Visible to: <span class="current-visibility-level">%s</span>', 'buddypress'), $obj_bp_ev->ez_bp_get_the_profile_field_visibility_level_label($str_field_ev)); ?> <a href="#" class="visibility-toggle-link"><?php _e('Change', 'buddypress'); ?> </a> </p> <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id(); ?> "> <fieldset> <legend><?php _e('Who can see this field?', 'buddypress');