How to get user activation URL in wordpress?
<p>for the following code:</p>

<pre><code>add_action( 'user_register', 'my_user_register', 10, 1 );
function my_user_register($user_id){
   // how do i get user activation url
   // todo: send user an activation email
}
</code></pre>

<p>I want to send an activation email to user, but I don't know how to get the activation url. Please advice.</p>