Linux 软件免费装
Banner图

Automatic Login

开发者 functionsfile
barryceelen
pluginpizza
更新时间 2026年1月2日 22:06
PHP版本: 5.5.1 及以上
WordPress版本: 6.9
版权: GPLv3+
版权网址: 版权信息

标签

login admin local autologin

下载

3.0.0 1.1.0 1.0.0 2.0.0

详情介绍:

Developers rejoice! Skip the login screen during local development. Automatic Login logs you in automatically on your local development environment. Quick Start
  1. Define the WP_ENVIRONMENT_TYPE constant as local in your wp-config.php file.
  2. Create a user with username admin and password password.
  3. 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: php 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.

安装:

Starting with Automatic Login on your locally hosted WordPress site consists of the following steps: 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: php 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. 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. Add the ‘automatic-login’ folder to the /wp-content/plugins/ directory
  2. Activate the Automatic Login plugin through the ‘Plugins’ menu in WordPress
Install Automatic Login as a must-use plugin Automatic Login also works great as a must-use plugin:
  1. Add the ‘automatic-login.php’ file to the /wp-content/mu-plugins/ directory
Automatic Login contains a GitHub Plugin URI plugin header to support updates via the Git Updater plugin.

更新日志:

3.0.0 Release Date: January 2, 2026 2.0.0 Release Date: July 26, 2024 1.1.0 Release Date: July 25, 2024 1.0.0 Release Date: February 11, 2023