learndash_register_user_success( integer $user_id )
Handles user registration success.
Description Description
Fires on 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.
Parameters Parameters
- $user_id
-
(Required) The Registers user ID.
Source Source
File: themes/ld30/includes/login-register-functions.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.1.2 | Introduced. |