Duplicate Snippet
Embed Snippet on Your Site
MemberPress: Prevent users from auto-login after registration
The code snippet is designed to disable the auto-login feature for users who register for a membership. By default, MemberPress automatically log users in after they complete the registration process. This code ensures that users are not automatically logged in, thereby requiring them to manually log in after registration.
Code Preview
php
| |
| |
| |
| |
| |
Comments