I’m using Paid Memberships Pro to structure membership levels across my site, with free / premium levels. Free members are not able to message members, send connections requests, etc.
However, I’ve noticed that the messages tab still appears for free levels, but redirects to a seemingly randomly page. I’m not sure why.
The tabs works correctly for Premium levels.
Is there a way to hide the message tab based on membership level?
I have used the code snippets on this very useful thread to hide profile tabs to non-logged-in users. Can these snippets be adapted for this, or is there a better way?