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: if ( ! function_exists( ‘wp_set_auth_cookie’ ) ) : /** * Sets the authentication cookies based on user ID. * * The $remember parameter increases … Read more