WordPress Membership Plugin
Thank you for the clarification. I removed the username from the parameters but it still did not work. However, I decided to try using send_email instead of send_mail. That fixed it. I was going based off of this documentation:
It specifically states, “There is an additional parameter send_mail, which can be 1 or 0. If it’s 1, addon will send registration email to user upon successful user creation. If not – it won’t.”
I think this should be updated to say send_email as well as clear up any confusion about passing a username. I was thinking you could force the username to be their email but still require activation to confirm said email. Thank you.