Created
April 4, 2018 21:52
-
-
Save 9ete/4b093d469021441c1d16daf9eb0f2554 to your computer and use it in GitHub Desktop.
WordPress action to check the login box 'remember me' checkbox by default without JavaScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'login_init', function(){$_POST['rememberme'] = 'remember';}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment