WordPress User Role Changing Plugin by BricksBee is an incredibly lightweight, secure plugin (6 KB size) compatible with all WordPress websites that allows you to change user roles via the link and provide access to different ‘paid’ parts of your website.
WordPress User Role Changer Plugin logic

Once you install the plugin, you can set up a secure key that will be placed in a special URL for the user change process. It’s good to know that this URL won’t be stored in the web browser history when the user is redirected from an external page (e.g., a payment page like Stripe) or when a 301 redirection is set up correctly. This means there will be no footprint left after using the link with the secure key.
For example, you have paid users who should have access to a specific element of the website. You need to define which role the current user has. Especially with Bricks Builder, this logic can be set up in Conditions. The tricky part is to automatically change the user’s role after a successful purchase without requiring the user to click a button in the form to apply the new role. This plugin is the solution!
WordPress User Role Changer Plugin features
Here it is pretty simple:
- Set up a secure key by yourself (the more complicated the name, the better).
- Optional: set up a redirect URL for the success page (if it’s empty, it will redirect to the homepage).
- Optional: set up a failed redirect URL for the failed page (if it’s empty, it will redirect to the homepage).
- Select the allowed roles, which can be changed via the link.
- Save the settings and get a specific link for each role you’ve selected.
Here is the quick GIF demo, where it’s shown the imitation of redirection from payment page back to website and the role is changed from Free User to Paid user:
