learndash_register_user_success( integer $user_id )
Handles user registration success.
user_register hook. When the user registers it if was from a Course we capture that for later when the user goes through the password set logic. After the password set we can redirect the user to the course. See learndash_password_reset() function.
(integer) (Required) The Registers user ID.