Created
February 18, 2015 09:09
-
-
Save BoweFrankema/4c1166c6a7d96353588e to your computer and use it in GitHub Desktop.
Keep me logged in for a longer time.
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 | |
function bp_keep_me_logged_in( $expirein ) { | |
return 2629743; // 1 month in seconds | |
} | |
add_filter( 'auth_cookie_expiration', 'bp_keep_me_logged_in' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment