Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hide profile field


r-a-y
Keymaster

@r-a-y

Tested just now, works for me.
You need to use the profile id #.

Go to your profile field setup and check the ID by putting your mouse over the “Edit” field. The ID # is field_id.
For example, “Name” is 1.

Either that or go to your DB and manually look up the profile field id in the wp_bp_xprofile_fields table.

You can also use any profile template tag and do your conditional.

If you wanted to use the profile name, use bp_get_the_profile_field_name() instead.

Skip to toolbar