Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

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.

This content requires a premium membership plan.