• Resolved noobiestrikesagain

    (@noobiestrikesagain)


    Hey,

    I would like to echo field if a specific condition is met.
    For example:

    if ( is_user_logged_in() && ! bp_is_my_profile()  ) {
    echo 'Field_id_01'
    } else {
    echo 'field_id_02}

    Where field_id represents custom fields.

    I know it sounds hard but is there any function to hide fields and then echo them manually?
    Would greatly appreciate your help.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Echo Field through code.’ is closed to new replies.