Get Discourse to recognize accounts verified in Wordpress (and WooCommerce) for SSO

That code did the trick! Users now only have to click the WP generated verification link. :folded_hands: Thank you!

I just added this but when the user clicks the WP generated Verification link, it just takes them to their /my-account page in WP, after they verify. It doesn’t take them back to the Discourse forums. What is the expected behavior here?