Latest news
Home » PHP » Socialengine User Friendship check function

Socialengine User Friendship check function

Use this function to check the logged user is a friend of any other user. Here Viewer is logged user object and user is the one who want to check.

$viewer->membership()->getRow($user);

Leave a Reply

x

Check Also

How to print Codeigniter upload error

if you want to display errors on upload functionality in codeigniter. Use the following function ...