Every member of your site has a Simple Membership profile and a WordPress user account. The membership level controls which protected content the member can see. The WordPress role controls what WordPress itself, and other plugins, let the user do.
Simple Membership can set the WordPress role for you based on the member’s membership level, and change it when the membership expires. This is useful if you use other plugins that give access by WordPress role, such as forum, course (LMS) or role-based content plugins.
Two fields on the membership level control this:
- Default WordPress Role (required)
- WordPress Role After Expiry (optional)
You’ll find both when you add or edit a membership level (WP Membership > Membership Levels).
Table of Contents
- Default WordPress Role
- WordPress Role After Expiry
- How the Role Is Restored After a Payment
- Example
- Things to Know
- Troubleshooting
- Related Documentation
Default WordPress Role
This is the WordPress role given to members of this level. It is applied when:
- a member registers and their WordPress user account is created
- a site admin adds a new member from the admin dashboard
- a member’s membership level changes (for example, an upgrade payment, or a site admin changing the member’s level)
On its own, this role does not change when the membership expires. An expired member keeps the role until something else changes it. If you want the role to change on expiry, use the next field.

WordPress Role After Expiry
This optional field lets you choose a different WordPress role for members of this level once their membership expires.
The default value is “No change (keep current role)”. With that value, nothing changes on expiry, which is how the plugin has always worked.

When you choose a role, the member’s WordPress role is switched to it when their account becomes expired. That happens when:
- the plugin’s daily check finds that the membership has expired
- the member tries to log in after their access has ended
- a site admin sets the member’s account status to expired (from the edit member screen or with the bulk action in the members list)
The Administrator role cannot be selected for this field.
How the Role Is Restored After a Payment
When a level uses “WordPress Role After Expiry”, the level’s Default WordPress Role is applied again whenever the member makes a new payment. This includes:
- a renewal payment
- an upgrade payment (the new level’s Default WordPress Role is applied)
- a recurring subscription payment
It doesn’t matter whether the account was active, expired or inactive before the payment. It works with all the supported payment gateways (PayPal, Stripe, Braintree) and with the WooCommerce addon.
The role is also restored when a site admin reactivates an expired member, either by changing the account status from expired to active on the edit member screen, or by using the bulk “activate” action in the members list. Only members whose status was expired get their role restored by the bulk action.
Example
You sell a yearly membership with a level called “Annual Member”:
- Default WordPress Role: Membre
- WordPress Role After Expiry: Connecte
- A visitor pays and registers. Their WordPress role is Membre.
- One year later the membership expires. Their role changes to Connecte.
- The member pays to renew. Their role changes back to Membre.
Any plugin on your site that gives access by role (for example, a members-only forum for the Membre role) will now follow the membership automatically.
Things to Know
- Administrator accounts are never changed. If the WordPress user has the Administrator role, the plugin will not change their role on expiry or after a payment.
- It is not retroactive. Members who were already expired before you set “WordPress Role After Expiry” keep their current role. The new role is applied the next time a member expires.
- The role is restored only while the option is set. If you change the option back to “No change”, payments no longer change the role for that level. Members who already received the expiry role keep it until their role changes some other way.
- “Inactive” doesn’t change the role. Only the expired account status triggers the role after expiry.
- The role is applied once a day. Expiry is checked by a daily scheduled task (or at login), so the role may change a few hours after the actual expiry time.
- Levels with “No Expiry” never expire, so the role after expiry never applies to them.
- Manual role changes may be overwritten. If you change a member’s WordPress role by hand, the plugin will set it again on the next expiry or payment for levels that use this option.
- bbPress forum roles are kept. Only the member’s main WordPress role is changed.
- WordPress multisite is not supported for role changes.
Troubleshooting
If a member’s role did not change as expected:
- Check that the member’s level has “WordPress Role After Expiry” set to a role (not “No change”).
- Check that a WordPress user account exists for the member (with the same username or email address).
- Enable the debug log (WP Membership > Settings > Advanced Settings), repeat the action, and look for log entries that start with “Role after expiry”.