New answers tagged

0 votes

WordPress login set cookie that survive browser exit (wp_signon function)

Without knowing what Google OAuth plugin you're using (and how it internally signs a user in), the only way is to override the pluggable function wp_set_auth_cookie, setting $remember to always true: ...
user avatar
  • 35.6k

Top 50 recent answers are included