Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Fields in Profile

  • Hi,

    I am trying to check if a custom field I’ve added to the BuddyPress “Edit Profile” page will come up with custom data.

    This is the PHP Code I am currently using – but at the moment it is just printing out the field name, rather than showing the echo “test” bit.

    
    <?php
    
    if ( bp_the_profile_field_input_name() == 'field_17')  {
    echo "test";
    }
    
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Fields in Profile’ is closed to new replies.
Skip to toolbar