plugin-icon

Automatic Login

Skip the login screen during local development. Log in automatically on your locally hosted WordPress install.
Rating
5/5
Version
3.0.0
Last updated
Jan 2, 2026
Automatic Login

Developers rejoice! Skip the login screen during local development. Automatic Login logs you in automatically on your local development environment.

Quick Start

  1. Install and activate the plugin.
  2. Define the WP_ENVIRONMENT_TYPE constant as local in your wp-config.php file.
  3. Create a user with username admin and password password.
  4. That’s it—you’ll be logged in automatically!

Log in as another user

By default, Automatic Login uses the admin user. Add the following constants to your wp-config.php file to log in as another user:

define( 'AUTOMATIC_LOGIN_USER_LOGIN', 'your-username-here' ); define( 'AUTOMATIC_LOGIN_USER_PASSWORD', 'your-password-here' );

Note: Automatic Login does not create users. The user must already exist.

10up snapshots

The snapshots and wpsnapshots user names are automatically recognized for folks using 10up’s Snapshots project sharing tool.

Bug reports

Do you want to report a bug or suggest a feature for Automatic Login? Best to do so in the Automatic Login repository on GitHub.

You might also like

  • Admin Bar Site ID Display the current site ID in the WordPress admin bar on multisite networks.
  • Uncomment Your one-stop shop to completely disable comments and remove all comment functionality.
  • Lorem Ipsum Autocomplete Quickly insert lorem ipsum dummy text or placeholder images into WordPress posts and pages via autocompletion.
Freeon Business plan
Tested up to
WordPress 6.9
This plugin is available for download for your site.