| 开发者 |
functionsfile
barryceelen pluginpizza |
|---|---|
| 更新时间 | 2026年1月2日 22:06 |
| PHP版本: | 5.5.1 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv3+ |
| 版权网址: | 版权信息 |
WP_ENVIRONMENT_TYPE constant as local in your wp-config.php file.admin and password password.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.
[WP_ENVIRONMENT_TYPE](https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#wp-environment-type) constant as 'local'.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
GitHub Plugin URI plugin header to support updates via the Git Updater plugin.plugin.php to automatic-login.php to make it easier to use the plugin as a must-use plugin. Existing users will need to reactivate the plugin: renaming the plugin file will unfortunately automatically deactivate the plugin.