Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / Functions / learndash_register_user_success()

learndash_register_user_success( integer $user_id )

Handles user registration success.

Contents

  • Description
    • Parameters
    • Source
    • Changelog
  • User Contributed Notes

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.


Top ↑

Source #Source

File: themes/ld30/includes/login-register-functions.php


			

Expand full source code Collapse full source code


Top ↑

Changelog #Changelog

Changelog
Version Description
3.1.2 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

You must log in before being able to contribute a note or feedback.

Proudly powered by WordPress