New answers tagged

2

You probably want pmpro_getMembershipLevelsForUser from functions.php: /* pmpro_getMembershipLevelsForUser() returns the membership levels for a user * * If $user_id is omitted, the value will be retrieved from $current_user. * By default it only includes active memberships. * * Return values: * Success returns an array of level objects. * ...



Top 50 recent answers are included