How to trigger email after creating user..?

Hi,
I want to trigger email after creating New user by Admin in wordpress…
In admin panel User->Add new

So after user created successfully send a mail to registered user with login credentials…(Username & Password)

any suggestion please…,

thanks,

Then you want this function, https://developer.wordpress.org/reference/functions/wp_new_user_notification/

Sponsor our Newsletter | Privacy Policy | Terms of Service