Reply To: Is it possible to require user to login after clicking the verification link?

Home Forums Email Verification for WooCommerce Is it possible to require user to login after clicking the verification link? Reply To: Is it possible to require user to login after clicking the verification link?

#101205
alpha
Participant

I’ve narrowed it down to this =>
function verify() { …
wp_set_current_user( $user_id );
wp_set_auth_cookie( $user_id );
…}
in the core.php file. when i comment out these two lines, it forces the user to login. How can I add a wc notice here that the user needs to login to complete verification?