Skip to main content
2 of 2
edited body

How to prefill the username/password fields on the login page

For a demo environment, I would like to pre-fill the username and password fields of the wp-login form with respectively "demo" and "demo" string.

Thus users will just need to click on the "Log-in" button to connect to the admin area.

There is a way to do that ? Maybe with a hook ?

Thanks for your advises