I have a membership site and would like to create a menu that will change for each member, specifically what content they have access to.
For example, on the menu there are 5 or so tabs that will remain the same for all users, but there is a “My Subscriptions” tab that I would like to have show the content that the member has access to.
My current solution is to create 20 different menus and 20 different if statements in the bottom-menu.php file of the theme. This isn’t efficient at all and with an increase in content, the number of menus I will have to create will increase tenfold.
So instead I would like to have one menu that just changes in the PHP file, but I’m not sure how to do this. I can provide more information on request. Thanks!