Replies: 0
Hello .
I’m using a free plan to offer some users 2 month free access.
While account is expired, pmpro_hasMembershipLevel() still return true. in fact expiration date never change anything .. is this normal ?
I’m using this code to test an active account.
if (! empty( $user->ID ) and function_exists('pmpro_hasMembershipLevel') and pmpro_hasMembershipLevel()) { .......
Best Regards
https://www.dropbox.com/s/0j0akder32plz0r/Capture.JPG?dl=0
https://www.dropbox.com/s/sn8urry5qkgyclj/Capture2.JPG?dl=0
- This topic was modified 3 minutes ago by alebec.