friends_check_friendships not working
This is returning nothing or null. I thought it was supposed to return true or false. I am obviously using it with wrong syntax or something.
friends_check_friendships(bp_loggedin_user_id(), bp_displayed_user_id()) is not returning anything
I simply want to return the value true or false to a page for each user in an unordered list. I’m using ‘allow php in html’ and it works everywhere else, but not for this? Maybe it’s my syntax for calling the function is wrong? Any help would be great or beter yet if here is an easier way to check if a user_id given is a friend or not.
WP – 3.8
BP – 1.9
You must be logged in to reply to this topic.