The code example below will prevent users from setting their username to an email address. This is useful if you want users to use an actual username instead of using their email address in both username and email fields.
Add this code to a PMPro Customizations plugin (our recommended method).
Author: Travis Lima
Travis hosts webinar guests, produces tutorial videos, and manages the PMPro YouTube channel. He helps prospective and existing customers use PMPro to build a successful and profitable membership site.
View more articles by Travis Lima »
Free Course: Membership Site Development—The Basics
Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.
Was this article helpful?
YesNo