When you change someone’s membership level through the WP admin’s edit profile page, any existing subscription for the user is cancelled and replaced by a pro-bono membership for the chosen level. How to change membership levels without changing subscriptions is a conversation for another post. However, in some situations, you may want to disable the ability for admins to change membership levels. It’s done by just 3 lines of code: Add this to the functions.php file of your active theme: 3a9f96c2d5e0d4d94fd1c3ea4cbb6242004 You can wrap this in a if($current_user->ID != “1”) { … } to allow the user with id = 1 to change membership levels, but restrict other users….

This page requires a PMPro Core Account or higher.

Already have an account? Login Now »

New to this site? Register Now »