• Resolved bonumaster

    (@bonumaster)


    Hi. How to check if user has in any plan via PHP? Like i wanted to set condition if user is not on any membership plan via PHP.

    Something like this (Other plugins code)


    if(pmpro_hasMembershipLevel('Member'))

    Thanks!

    • This topic was modified 1 year, 9 months ago by bonumaster.
Viewing 1 replies (of 1 total)
  • Plugin Author reputeinfosystems

    (@reputeinfosystems)

    Hello,

    You can get the member’s current plan IDs from the “arm_user_plan_ids” user meta and match the plan ID according to your requirements.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Membership Plan Condition’ is closed to new replies.