| 开发者 |
functionsfile
barryceelen pluginpizza |
|---|---|
| 更新时间 | 2026年6月6日 22:19 |
| PHP版本: | 5.5.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3+ |
| 版权网址: | 版权信息 |
local in your wp-config.php file.admin and password password.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
local in your wp-config.php file.admin and password password.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.
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.