Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Fixed: displaying xprofile data if is friend or is users profile?

@cnorris23

Participant

Everything should work if you’re viewing your own profile. `bp_is_friend()` doesn’t return a bool. It returns on of the following: ‘is_friend’, ‘not_friends’, or ‘pending’. In this case you’ll likely want to do `bp_is_friend() == ‘is_friend’` in your ‘if’ statement. That should get things running.

Skip to toolbar