Plugin Author
Kento
(@proaktion)
Hi,
Yes that’s possible, you can check if the current user belongs to a group and use a different execution path based on that. See http://docs.itthinx.com/document/groups/api/examples/ for examples under “Does the current user belong to the Foobar group?”.
Cheers
I have been looking at this snippet to possibly solve my predicament. Unfortunately, I am relatively new to wordpress; even more to php and is completely loss on how to use or where to insert it.
I would like to use the snippet described above to check if a user belongs to a group(sign-in) if they are not then it will assume that the user is logged-out. If the user is logged-out, All product category in my shop should be visible. I apologize in advance if this might sound elementary, but have been working on this for days and have not found a solution.
Will appreciate all the help. Thanks!