The Roles for Membership Levels Add On creates a new WordPress User Role for each membership level you have created. This recipe performs a batch update on all members with the Subscriber role to their level’s custom role, ignoring the Administrator role and any other roles you specify to skip.

The code is designed to be a one-time update script for sites that would like to use the Roles Add On on an existing site with members.

How to Bulk Update User Roles to a Custom Role for Their Membership Level

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now