Using custom is_user function to hide pages
-
Hi all…
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?
Cheers…
MASSIVE apologies if this has been touched on but I could only find references to blocking “all users”.Rob
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using custom is_user function to hide pages’ is closed to new replies.