I’m trying to get the subscription ID(s) for the current user in MemberPress. Can’t find any examples of this in the documentation.
I’m trying to get the subscription ID(s) for the current user in MemberPress. Can’t find any examples of this in the documentation.
3
Answers
Something like this should work:
$active_subscription_ids = MeprUtils::get_currentuserinfo()->active_product_subscriptions('ids');