learndash_register_user_success( integer $user_id )
Handles user registration success.
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 #
- $user_id
-
(integer) (Required) The Registers user ID.
Source #
Changelog #
Version | Description |
---|---|
3.1.2 | Introduced. |