memb_hasMembership()

This function takes a single string argument, which is the name of the membership level that you want to test access for. By membership level name, that would be something like “gold” or “silver”, etc. This is a case insensitive comparison.

memb_hasMembership( ‘Gold’ )

It returns TRUE if the currently logged in user has the membership level, it returns FALSE otherwise.

 

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

Table of Contents

Keep Reading

Default Logout Page

Sets the default URL for visitors to be sent to on logout. If no default URL is set, and no membership level logout page is set, the site’s homepage will be used.

Read More »

Want to get some fresh ideas on how you can improve your membership site or course?

Download our free ebook!

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://keap.memberium.com/support/ or Email us at support@memberium.com.