Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="profile-fields">
- <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
- <?php if ( bp_field_has_data() ) : ?>
- <?php $data_field = bp_get_the_profile_field_name(); if ( ($data_field == "field_1") && !is_super_admin() && !bp_is_home()) : ?>
- <?php echo "";?>
- <?php else : ?>
- <tr<?php bp_field_css_class(); ?>>
- <td class="label"><?php bp_the_profile_field_name(); ?></td>
- <td class="data"><?php bp_the_profile_field_value(); ?></td>
- </tr>
- <?php endif; ?>
- <?php endif; ?>
- <?php do_action( 'bp_profile_field_item' ); ?>
- <?php endwhile; ?>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement