I have not tried it, but this thread on stackoverflow.com seems to be what you need – Create new admin, wordpress
Related Posts:
- How to customise wp-login.php only for users who are setting a password for the first time?
- reset password link redirect to login page
- Password reset – Disabled for LDAP accounts
- Is there anyway to get the inputted password string from the login form?
- wordpress login without password just email address (NO 2 factor authentication with email)
- Login form does not store/remember/suggest users password
- How can I redirect user after entering wrong password?
- Check for correct username on custom login form
- Custom login form
- Prevent wp_login_form() from redirecting to wp-admin when there are errors
- How do I change the language of only the login page?
- How to fake a WordPress login?
- Can not login with correct username and password
- How can I add a custom script to footer of login page?
- How to keep always logged in development environment
- Add Confirm Password field in wp-login.php Password Reset page
- custom login page redirect to logged in user profile page
- Give visitor access to password protected page/post via external script
- WordPress Login Footer URL
- Remove built in wordpress login and use only google auth
- Change Login Page for a Multisite Subsite
- Positioning the “Lost your password?” and “← Back to Site”
- send users logging in from wp-login.php directly to home page of site, rather than dashboard
- How can I retrieve the username and password from my WordPress installation?
- How to get login data (session) outside WordPress?
- password protect individual pages
- How to determine if a user has not changed default generated password
- Add class to input form in login form
- Allow access to a page for admins only
- Customizing login error messages
- Customizing the WordPress login form
- Restricting frontend acess based on user role otherwise redirect to login form
- Right practice to edit WP reset password email
- how to restrict user login whenever if a user puts on hold by editing wp-login action?
- How do I force “users must be registered and logged in” on subsites?
- deny IPs from wp-login using .htaccess
- Login error redirecting to wp-login page
- How can I prevent my custom form from redirecting to wp-login?
- Private page protected with username and password
- Password protect media attachment – share across guests
- Custom Login iframe doesn’t work
- Replace dash with space in username on login
- Autologin only working the second time
- replace wp-login.php login forms via a hook & use custom forms with wp-login form validation
- Why wp_update_user doesn’t update user_activation_key on users with apostrophes in their email?
- Forgot Password/ Password Reset Page does not exist
- Correct passwords keep appearing as incorrect
- Forgot password needs to redirect from wp-login to a custom page
- Auto login between word press subdomain and a .net website
- Disabling standard registration login with username/email and password?
- Deep customization of wp-login.php
- WordPress error on log out ‘Not Permitted’ and can’t log out
- Redirect wp-login
- How can I change the email sender name from wordpress to (myblogname) on the “lost password” email?
- Is wp_login_form secure on a non secure page?
- How to password-protect everything except the logo
- Is the login encrypted before it is sent? If so how to do I encrypt it the same way?
- Login and Forgot password in Lightbox
- Forcing frontend login with UI switch
- How can I password protect a WordPress site without requiring users to log in?
- Prevent display password on wp-login.php
- Change default login auth
- WordPress not logged in locally with correct username and password
- WordPress SSL not working [closed]
- Where is the php file, that does the checks for login information?
- Can I protect a type of content site-wide with a single password?
- Alert Message through email or phone(Message)
- Moving from one host to another – cannot access the dashboard
- How are all users now set to inactive?
- I need to find which is the file that checks the DB for correct login (username, password)
- woocommerce store login not working at first time
- How do I change the language of the login page to Arabic?
- How to add custom authentication to wordpress login and register
- Problem in auto login after registration
- Custom user roles are unable to login
- How to invalidate `password reset key` after being used
- Check for $ _POST fields in a POST method form
- Styling WordPress login page – Can I change the markup on the login page?
- Special link for no automatic login (no username and no password)
- WordPress password reset not working
- Modify wp-login.php Labels Conditionally Based On Referring URL
- WordPress Login & Register works in localhost but don’t work on server
- New user password confirmation sending wrong URL
- How to login to wordpress via Cpanel
- Locked out of WordPress admin area [closed]
- Global login to password protected pages
- Disable / Remove Password for Login WordPress
- How to password protect pages in WordPress
- Chosen user password in registration is not being accepted on Login
- Make WordPress User Name the Email Address When Register
- How to place wp-login.php in page or page template?
- Webpage not found upon entering wrong username and password on custom login form?
- Can’t login through wp-login.php on fresh installation
- Hide wp-login.php but not the widget
- Trouble logging in and/or changing password
- Cannot login with correct username and password anymore
- Logging in takes a few refreshes to show you are logged in, is this a cache issue? [closed]
- Remove login link from Reset Password-screen
- Why am I not able to login to the admin
- Log in a user upon password reset?