How to retrieve the name of bp_member_type instead of the ID?
Hey, there! I am trying to retrieve the current logged in user’s member type, which I have done successfully, but it seems to output the member type id or the membertype slug instead of the actual member type name, making the member types lowercase/appear with underscores if there is an underscore in the ID. How do I retrieve the name instead?
This is the code I am using
$member = bp_get_member_type($user_id);
- You must be logged in to reply to this topic.