Using custom is_user function to hide pages
There are a few discussions around hiding pages but my problem is slightly different (I hope )
I have a custom if_user_is function that looks if a user is a ‘learner’ or ‘mentor’ from a custom db field. I’m wanting to show BUDDYPRESS only to the mentors…
Is there anywhere I can do this in the root rather than a conditional statement on each BP template?
MASSIVE apologies if this has been touched on but I could only find references to blocking “all users”.
- The topic ‘Using custom is_user function to hide pages’ is closed to new replies.