Skip to:
Content
Pages
Categories
Search
Top
Bottom

Email to admin when new user register

  • @sofijagb

    Participant

    Hello guys, I will appreciate your help,

    My question is about email which admin recieves when new user is registred on site which now looks like this:

    New user registration on your site Name of site:
    Username: something
    Email: useremail

    I added a drop down selection menu in registration form, with several options like :
    Club 1, Club 2, Club 3

    and I want my email to admin to look like this:

    New user registration on your site Name of site:
    Username: something
    Email: useremail
    Club: Club1

    I would appreciate a help, since I am trying to make this happen, thanks in advance

Viewing 1 replies (of 1 total)
  • @henrywright

    Moderator

    Hi @sofijagb

    That particular email’s message isn’t filterable but the function which sends the email is pluggable, which means you can write your own function. For more info on pluggable function in WordPress, check out:

    https://codex.wordpress.org/Pluggable_Functions

    The function you’ll need to override is wp_new_user_notification()

    Hope this info helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Email to admin when new user register’ is closed to new replies.
Skip to toolbar