That code did the trick! Users now only have to click the WP generated verification link.
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?