WordPress.org

Ready to get started?Download WordPress

Forums

set username to email address on register? (1 post)

  1. happytummp
    Member
    Posted 1 year ago #

    I'm trying to modify new member registration so username is auto filled based on email address. I've tried a javascript solution but $post['username'] is still blank for some reason.

    Using the hook register_post won't work because it comes after the username check.

    Is there a hook to use for setting username to match the email address entered in the registration form?

Topic Closed

This topic has been closed to new replies.

About this Topic