A few Drupal users want to know how to check if a user is a member of an Organic Group via code. If you are facing the same question in your Drupal site with Drupal Organic Groups and would like to know the solution then read on to find out more.
Here is the solution.
Use the following code segment to know if a user is a member of an organic group.
Hope that helps.
The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.