Bug using pmpro_hasMembershipLevel on expired account
-
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
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bug using pmpro_hasMembershipLevel on expired account’ is closed to new replies.