WordPress login with Email

WordPress login with Email:

WordPress is provinding login using Username by default. Sometimes we require userlogin by email also. So here is the code snippet, put this snippet into your current activated themes functions file.

After adding this code, you can also use email as login name.

I'm a web developer / PHP programmer. I am also working on custom plugin development of wordpress.