{"id":170630,"date":"2023-02-14T12:32:45","date_gmt":"2023-02-14T12:32:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/automatic-login\/"},"modified":"2026-01-02T14:06:53","modified_gmt":"2026-01-02T14:06:53","slug":"automatic-login","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/automatic-login\/","author":23088998,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.0","stable_tag":"3.0.0","tested":"6.9.4","requires":"5.5.1","requires_php":"","requires_plugins":null,"header_name":"Automatic Login","header_author":"Plugin Pizza","header_description":"Log in automatically on your locally hosted WordPress install.","assets_banners_color":"ffffff","last_updated":"2026-01-02 14:06:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/automatic-login\/","header_author_uri":"https:\/\/plugin.pizza","rating":5,"author_block_rating":0,"active_installs":0,"downloads":3306,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"functionsfile","date":"2023-11-13 00:12:23"},"1.1.0":{"tag":"1.1.0","author":"functionsfile","date":"2024-07-25 08:42:41"},"2.0.0":{"tag":"2.0.0","author":"pluginpizza","date":"2025-12-28 02:32:23"},"3.0.0":{"tag":"3.0.0","author":"pluginpizza","date":"2026-01-02 14:06:53"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3125975,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3125975,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3125975,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3125975,"resolution":"1544x500","location":"assets","locale":""},"banner-772-250.png":{"filename":"banner-772-250.png","revision":3125975,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","2.0.0","3.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,9566,1120,602],"plugin_category":[38],"plugin_contributors":[84301,229984],"plugin_business_model":[],"class_list":["post-170630","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-autologin","plugin_tags-local","plugin_tags-login","plugin_category-authentication","plugin_contributors-barryceelen","plugin_contributors-pluginpizza","plugin_committers-barryceelen","plugin_committers-functionsfile","plugin_committers-pluginpizza"],"banners":{"banner":"https:\/\/ps.w.org\/automatic-login\/assets\/banner-772-250.png?rev=3125975","banner_2x":"https:\/\/ps.w.org\/automatic-login\/assets\/banner-1544x500.png?rev=3125975","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/automatic-login\/assets\/icon.svg?rev=3125975","icon":"https:\/\/ps.w.org\/automatic-login\/assets\/icon.svg?rev=3125975","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Developers rejoice! Skip the login screen during local development. Automatic Login logs you in automatically on your local development environment.<\/p>\n\n<h4>Quick Start<\/h4>\n\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Define the <a href=\"https:\/\/developer.wordpress.org\/advanced-administration\/wordpress\/wp-config\/#wp-environment-type\">WP_ENVIRONMENT_TYPE<\/a> constant as <code>local<\/code> in your <code>wp-config.php<\/code> file.<\/li>\n<li>Create a user with username <code>admin<\/code> and password <code>password<\/code>.<\/li>\n<li>That's it\u2014you'll be logged in automatically!<\/li>\n<\/ol>\n\n<h4>Log in as another user<\/h4>\n\n<p>By default, Automatic Login uses the <code>admin<\/code> user. Add the following constants to your <code>wp-config.php<\/code> file to log in as another user:<\/p>\n\n<pre><code>define( 'AUTOMATIC_LOGIN_USER_LOGIN', 'your-username-here' );\ndefine( 'AUTOMATIC_LOGIN_USER_PASSWORD', 'your-password-here' );\n<\/code><\/pre>\n\n<p><strong>Note:<\/strong> Automatic Login does not create users. The user must already exist.<\/p>\n\n<h4>10up snapshots<\/h4>\n\n<p>The <code>snapshots<\/code> and <code>wpsnapshots<\/code> user names are automatically recognized for folks using 10up's <a href=\"https:\/\/github.com\/10up\/snapshots\">Snapshots<\/a> project sharing tool.<\/p>\n\n<h4>Bug reports<\/h4>\n\n<p>Do you want to report a bug or suggest a feature for Automatic Login? Best to do so in the Automatic Login <a href=\"https:\/\/github.com\/pluginpizza\/automatic-login\/\">repository on GitHub<\/a>.<\/p>\n\n<h4>You might also like<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/admin-bar-site-id\/\">Admin Bar Site ID<\/a>\nDisplay the current site ID in the WordPress admin bar on multisite networks.<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/uncomment\/\">Uncomment<\/a>\nYour one-stop shop to completely disable comments and remove all comment functionality.<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/loremipsum\/\">Lorem Ipsum Autocomplete<\/a>\nQuickly insert lorem ipsum dummy text or placeholder images into WordPress posts and pages via autocompletion.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Starting with Automatic Login on your locally hosted WordPress site consists of the following steps:<\/p>\n\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Define the <a href=\"https:\/\/developer.wordpress.org\/advanced-administration\/wordpress\/wp-config\/#wp-environment-type\">WP_ENVIRONMENT_TYPE<\/a> constant as <code>local<\/code> in your <code>wp-config.php<\/code> file.<\/li>\n<li>Create a user with username <code>admin<\/code> and password <code>password<\/code>.<\/li>\n<li>That's it\u2014you'll be logged in automatically!<\/li>\n<\/ol>\n\n<h4>Log in as another user<\/h4>\n\n<p>By default, Automatic Login uses the 'admin' user. Add the following constants to your <code>wp-config.php<\/code> file to log in as another user:<\/p>\n\n<pre><code>define( 'AUTOMATIC_LOGIN_USER_LOGIN', 'your-username-here' );\ndefine( 'AUTOMATIC_LOGIN_USER_PASSWORD', 'your-password-here' );\n<\/code><\/pre>\n\n<p><strong>Note:<\/strong> Automatic Login does not create users. The user must already exist.<\/p>\n\n<h4>10up Snapshots<\/h4>\n\n<p>The 'snapshots' and 'wpsnapshots' user names are automatically recognized for folks using 10up's <a href=\"https:\/\/github.com\/10up\/snapshots\">Snapshots<\/a> project sharing tool.<\/p>\n\n<h4>Install Automatic Login from within WordPress<\/h4>\n\n<ol>\n<li>Visit the Plugins page within your dashboard and select \u2018Add New\u2019<\/li>\n<li>Search for \u2018Automatic Login'<\/li>\n<li>Activate Automatic Login from your Plugins page<\/li>\n<\/ol>\n\n<h4>Install Automatic Login manually<\/h4>\n\n<ol>\n<li>Add the \u2018automatic-login\u2019 folder to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the Automatic Login plugin through the \u2018Plugins\u2019 menu in WordPress<\/li>\n<\/ol>\n\n<h4>Install Automatic Login as a must-use plugin<\/h4>\n\n<p>Automatic Login also works great as a <a href=\"https:\/\/wordpress.org\/documentation\/article\/must-use-plugins\/\">must-use plugin<\/a>:<\/p>\n\n<ol>\n<li>Add the \u2018automatic-login.php\u2019 file to the \/wp-content\/mu-plugins\/ directory<\/li>\n<\/ol>\n\n<p>Automatic Login contains a <code>GitHub Plugin URI<\/code> plugin header to support updates via the <a href=\"https:\/\/git-updater.com\/\">Git Updater<\/a> plugin.<\/p>\n\n<!--section=changelog-->\n<h4>3.0.0<\/h4>\n\n<p>Release Date: January 2, 2026<\/p>\n\n<ul>\n<li>Rename the plugin file from <code>plugin.php<\/code> to <code>automatic-login.php<\/code> 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.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<p>Release Date: July 26, 2024<\/p>\n\n<ul>\n<li>Minor updates.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<p>Release Date: July 25, 2024<\/p>\n\n<ul>\n<li>Add support for the 'snapshots' user name in addition to 'wpsnapshots'.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>Release Date: February 11, 2023<\/p>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Skip the login screen during local development. Log in automatically on your locally hosted WordPress install.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/170630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=170630"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pluginpizza"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=170630"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=170630"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=170630"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=170630"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=170630"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=170630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}