How To Force New Subscribers to Use Their Email Address as Their Username

Using the leaky_paywall_userdata_before_user_create filter you can force a new subscriber’s username to be their email address during sign up for Leaky Paywall. Just paste the following code into your theme’s functions.php file.