Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Reste connecté à WordPress durant 1 an
- add_filter( 'auth_cookie_expiration', 'keep_me_logged_in' );
- function keep_me_logged_in( $expirein ) {
- return 31556926; // 1 an en secondes
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement