Hide or Show Fields on Member Profiles based on Membership Level

If you’re using our Member Directory and Profile Pages Add On, the code recipe below allows you to set up the member profile to only show designated “premium fields” for “premium members”.