Viewing 2 replies - 1 through 2 (of 2 total)
  • Great H-master

    (@great-h-master)

    Hello. Thank you for using Paid Memberships Pro. You should be able to use the pmpro_getMembershipLevelForUser($user_id) function to get the user’s current level…it will return a level object. You can then access the level object to get the expiration date. Then getting the user’s start date with pmpro_getMemberStartdate($user_id) function. Combining the level expiration date, with the members start date, you should be able to restrict them. Hope this helps. Let us know if you need further assistance. Thanks again.

    Thread Starter Potenza Global Solutions

    (@potenzaglobal)

    Thanks @great-h-master 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to check for current user's access’ is closed to new replies.