WordPress.org

English (New Zealand)

  • Themes
  • Plugins
  • News
  • About
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Automatic Login

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Automatic Login

By Plugin Pizza
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Developers rejoice! Automatic Login logs you in automatically on your local development installation if the following conditions are met:

  • The WP_ENVIRONMENT_TYPE constant is defined as ‘local’.
  • A user exists with the username ‘admin’ and password ‘password’.

Alternatively, the AUTOMATIC_LOGIN_USER_LOGIN and AUTOMATIC_LOGIN_USER_PASSWORD constants can be used to define the login credentials for Automatic Login. Note that Automatic Login does not create a user for you and the user should already exist.

WP 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.

Installation

Starting with Automatic Login on your locally hosted WordPress site consists of the following steps:

  • Install and activate the plugin.
  • Define the WP_ENVIRONMENT_TYPE constant as ‘local’.
  • Create a user with the user name ‘admin’ and password ‘password’. Note that Automatic Login is intended for local development environments. Do not create these login credentials on publicly accessible sites!

Alternatively, the AUTOMATIC_LOGIN_USER_LOGIN and AUTOMATIC_LOGIN_USER_PASSWORD constants can be used to define the login credenitals for Automatic Login. Note that Automatic Login does not create a user for you and the user should already exist.

WP Snapshots

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

Install Automatic Login from within WordPress

  1. Visit the Plugins page within your dashboard and select ‘Add New’
  2. Search for ‘Automatic Login’
  3. Activate Automatic Login from your Plugins page

Install Automatic Login manually

  1. Upload the ‘automatic-login’ folder to the /wp-content/plugins/ directory
  2. Activate the Automatic Login plugin through the ‘Plugins’ menu in WordPress

Automatic Login contains a GitHub Plugin URI plugin header to support updates via the Git Updater plugin.

Reviews

Funciona correctamente

jesusjvc October 25, 2024 1 reply
De ahora en adelante lo usaré en mis instalaciones de WP en local.

Works as expected! Thanks!

Andrew Mead July 24, 2024 1 reply
I started using this on my local setup where I develop my WordPress plugin. It’s a dream!

I am rejoicing

Benjamin Intal February 23, 2024 1 reply
I have a feature request, add in your auto-login credentials the username: admin and password: admin
Read all 3 reviews

Contributors & Developers

“Automatic Login” is open source software. The following people have contributed to this plugin.

Contributors
  • Plugin Pizza
  • Barry Ceelen
  • Functions File

Translate “Automatic Login” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.0

Release Date: July 25, 2024

  • Add support for the ‘snapshots’ user name in addition to ‘wpsnapshots’.

1.0

Release Date: February 11, 2023

  • Initial release.

Meta

  • Version 2.0.0
  • Last updated 5 months ago
  • Active installations Fewer than 10
  • WordPress version 5.5.1 or higher
  • Tested up to 6.7.2
  • Language
    English (US)
  • Tags
    adminautologinlocallogin
  • Advanced View

Ratings

5 out of 5 stars.
  • 3 5-star reviews 5 stars 3
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

Contributors

  • Plugin Pizza
  • Barry Ceelen
  • Functions File

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

English (New Zealand)

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry