In a plugin I need to send an email to confirm a member registration. Inside this email HTML Content, there is a link with two parameters like this :
site_url() . "/user-profile/?activate=true&token=" . $token
My problem is the char "&" which prevent to send the email.
I tested the function
esc_url() without success.
What is the WP solution ?