Skip to:
Content
Pages
Categories
Search
Top
Bottom

if function to detect bp_profile_field_data PLEASE HELP!!!


  • Patrick
    Participant

    @flatoutfab

    I have several custom profile fields in my Buddypress installation. I have completely removed profile_loop and created a custom table that uses the bp_profile_field_data function to post specific field data. It works well.

    My problem is that if no data exists for a particular field, the table has a blank spot. I want to create an if function that will look for bp_profile_field_data (field=field_name’). If field_name exists, I want the if function to to echo the field_name ID as a title. If no field data exists I want there to be a blank echo.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘if function to detect bp_profile_field_data PLEASE HELP!!!’ is closed to new replies.
Skip to toolbar