Tagged: database xprofile
I need to identify my users who have marked specific profile fields as private. When a user marks a field as private, “only friends” or whatever — where does buddypress store that information the database?
I’ve looked at: bp_xprofile_data, bp_xprofile_fields, and bp_xprofile_meta but (AFAICT) it’s not in any of those.
Anyone know where this information is stored?
- Brajesh Singh on March 17, 2023 at 9:27 am #48807
Thank you for the question.
The data is stored in user meta as serialized array(field id=> viability level). I am unable to suggest a nice way to query it.
Please take a look at the meta key ‘bp_xprofile_visibility_levels’ in user meta.
- Brajesh Singh on March 20, 2023 at 6:27 am #48829
You are welcome.
The topic ‘ [Resolved] Question about visibility of profile fields (in the wp database)’ is closed to new replies.