How do I check if a particular profile is a friend’s?
-
I am building a site with custom profile display. I want to display some content (WordPress posts) only if the current profile (on which it is being displayed) is that of a friend. In other words, if the viewer is not my friend, they shouldn’t see posts I published.
I am assuming an if, else loop would do, but I don’t know the bp function for checking if the owner of current profile is my friend.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I check if a particular profile is a friend’s?’ is closed to new replies.