Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Bug using pmpro_hasMembershipLevel on expired account

$
0
0

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.

Viewing all articles
Browse latest Browse all 59525

Trending Articles