Prevent members with the Administrator role from being redirected to a new homepage when using the Member Homepages Add On
About the Recipe
Using the Member Homepages Add On for Paid Memberships Pro allows you to completely redirect logged in members to a home page of your choice based on their membership level.
This code recipe will prevent Administrators with a membership level from being redirected to the new homepage. This can be useful at times when a website admin needs to get access to the ‘public/non-member’ homepage.
This recipe will only work if our Member Homepages Add On is installed and activated on your website.